]> git.eshelyaron.com Git - emacs.git/commit
SMIE: Reliably distinguish openers/closers in smie-prec2-levels
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 7 Oct 2010 11:27:19 +0000 (13:27 +0200)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 7 Oct 2010 11:27:19 +0000 (13:27 +0200)
commit29c72a6e4382d33779f7706719cb784ee4c4ef88
treef51755be02c2752be61d2b3c83947399328e9676
parent07ff7702e086ca4eb02aadf438c97a9c87c3389d
SMIE: Reliably distinguish openers/closers in smie-prec2-levels
* lisp/emacs-lisp/smie.el (smie-bnf-classify): New function.
(smie-bnf-precedence-table): Use it to remember the closers/openers.
(smie-merge-prec2s): Handle those new entries.
(smie-prec2-levels): Only set precedence to nil for actual
openers/closers.
* lisp/progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
that is now unnecessary.
lisp/ChangeLog
lisp/emacs-lisp/smie.el
lisp/progmodes/octave-mod.el