diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-06-18 16:05:08 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-06-18 16:05:08 +0200 |
commit | f21ec24524c705e18674a2e9e4db37b11fa3ebab (patch) | |
tree | 4d3f1ad27a88122e2e2a965dfd05edcdbb2e8a55 /admin/grammars/python.wy | |
parent | 90b44f336caf7d70721f44ac2497a38ff69d6c7d (diff) | |
download | emacs-f21ec24524c705e18674a2e9e4db37b11fa3ebab.tar.gz emacs-f21ec24524c705e18674a2e9e4db37b11fa3ebab.tar.bz2 emacs-f21ec24524c705e18674a2e9e4db37b11fa3ebab.zip |
Add a mechanism to specify expected shift/reduce .wy conflicts
* admin/grammars/python.wy: Set the expected number of
shift/reduce conflicts to four.
* lisp/cedet/semantic/grammar.el
(semantic-grammar-expected-conflicts): New function.
* lisp/cedet/semantic/wisent/comp.el (wisent-total-conflicts): Use
it to suppress warnings about the expected number of shift/reduce
conflicts.
Diffstat (limited to 'admin/grammars/python.wy')
-rw-r--r-- | admin/grammars/python.wy | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/grammars/python.wy b/admin/grammars/python.wy index 082850df59c..0e926ad3636 100644 --- a/admin/grammars/python.wy +++ b/admin/grammars/python.wy @@ -88,6 +88,7 @@ %package wisent-python-wy %provide semantic/wisent/python-wy +%expectedconflicts 4 %{ (declare-function wisent-python-reconstitute-function-tag |