]> git.eshelyaron.com Git - emacs.git/commit
Allow specifying the expected number of shift/reduce conflicts
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 19 Jun 2019 11:47:22 +0000 (13:47 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 19 Jun 2019 11:48:49 +0000 (13:48 +0200)
commit390b4bc1e25fe691548d7ec982eb2f7027fe26a3
tree3355d4c19e87fbe9814339a7f82cb30bd458fadd
parenteef48e124da251605ea05579aac196f2f8e2f534
Allow specifying the expected number of shift/reduce conflicts

* admin/grammars/grammar.wy: Add %expectedconflicts.

* lisp/cedet/semantic/grammar-wy.el
(semantic-grammar-wy--keyword-table): Ditto.

* lisp/cedet/semantic/grammar.el
(semantic-grammar-expected-conflicts): New function.
(semantic-grammar-insert-defconst-with-eval): New function.
(semantic-grammar-create-package): Output the number of expected
shift/reduce conflicts.

* lisp/cedet/semantic/wisent/comp.el (wisent-total-conflicts):
Don't output the warning if the number of shift/reduce conflicts
is expected.
(wisent-expected-conflicts): Made obsolete.
admin/grammars/grammar.wy
admin/grammars/python.wy
lisp/cedet/semantic/grammar-wy.el
lisp/cedet/semantic/grammar.el
lisp/cedet/semantic/wisent/comp.el