diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2011-06-26 10:43:52 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2011-06-26 10:43:52 +0200 |
commit | bc3122541bc99fb85fb9fc531d53e284ee1c392f (patch) | |
tree | 7397ca498c505e061aee0603381677ffc7e0a429 /lisp/emacs-lisp | |
parent | 2db18f3ffa5ade74429c6533e4bb22a3ee93cb6d (diff) | |
download | emacs-bc3122541bc99fb85fb9fc531d53e284ee1c392f.tar.gz emacs-bc3122541bc99fb85fb9fc531d53e284ee1c392f.tar.bz2 emacs-bc3122541bc99fb85fb9fc531d53e284ee1c392f.zip |
* lisp/emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
(Bug#8934)
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/smie.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/smie.el b/lisp/emacs-lisp/smie.el index 0206abb9f53..cad7c8419b2 100644 --- a/lisp/emacs-lisp/smie.el +++ b/lisp/emacs-lisp/smie.el @@ -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) |