diff options
| author | Lars Ingebrigtsen | 2019-06-18 16:05:08 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-06-18 16:05:08 +0200 |
| commit | f21ec24524c705e18674a2e9e4db37b11fa3ebab (patch) | |
| tree | 4d3f1ad27a88122e2e2a965dfd05edcdbb2e8a55 /admin | |
| parent | 90b44f336caf7d70721f44ac2497a38ff69d6c7d (diff) | |
| download | emacs-f21ec24524c705e18674a2e9e4db37b11fa3ebab.tar.gz 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')
| -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 @@ | |||
| 88 | 88 | ||
| 89 | %package wisent-python-wy | 89 | %package wisent-python-wy |
| 90 | %provide semantic/wisent/python-wy | 90 | %provide semantic/wisent/python-wy |
| 91 | %expectedconflicts 4 | ||
| 91 | 92 | ||
| 92 | %{ | 93 | %{ |
| 93 | (declare-function wisent-python-reconstitute-function-tag | 94 | (declare-function wisent-python-reconstitute-function-tag |