diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-02-24 18:29:25 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-02-24 18:29:25 +0100 |
commit | 1f5ed3edc6244a26697ff5584431ff546aeaf9a4 (patch) | |
tree | 8eedeb76d6ffb37354a2afe23c34eb1965fd5692 /lisp/cedet/semantic/wisent/python.el | |
parent | d56fbc375d46d2adf681a50ebbf6e9edee2a99f2 (diff) | |
download | emacs-1f5ed3edc6244a26697ff5584431ff546aeaf9a4.tar.gz |
Fix wisent/python.el grammar warning
* lisp/cedet/semantic/wisent/python.el: Fix warning about
shift/reduce conflicts in the Python grammar.
Diffstat (limited to 'lisp/cedet/semantic/wisent/python.el')
-rw-r--r-- | lisp/cedet/semantic/wisent/python.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/cedet/semantic/wisent/python.el b/lisp/cedet/semantic/wisent/python.el index 7769ad1961b..74f190c0860 100644 --- a/lisp/cedet/semantic/wisent/python.el +++ b/lisp/cedet/semantic/wisent/python.el @@ -33,6 +33,11 @@ ;; for optional functionality (require 'python nil t) +;; Tell wisent how many shift/reduce conflicts are to be expected by +;; this grammar. +(eval-and-compile + (defconst wisent-python--expected-conflicts 4)) + (require 'semantic/wisent) (require 'semantic/wisent/python-wy) (require 'semantic/find) |