* lisp/emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
(Bug#8934)
This commit is contained in:
parent
2db18f3ffa
commit
bc3122541b
2 changed files with 7 additions and 2 deletions
|
@ -238,9 +238,9 @@ one of those elements share the same precedence level and associativity."
|
|||
(pushnew (car shr) last-ops)
|
||||
(pushnew (car shr) last-nts)
|
||||
(when (consp (cdr shr))
|
||||
(when (member (cadr rhs) nts)
|
||||
(when (member (cadr shr) nts)
|
||||
(error "Adjacent non-terminals: %s %s"
|
||||
(cadr rhs) (car rhs)))
|
||||
(cadr shr) (car shr)))
|
||||
(pushnew (cadr shr) last-ops)))))
|
||||
(push (cons nt first-ops) first-ops-table)
|
||||
(push (cons nt last-ops) last-ops-table)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue