]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix wisent/python.el grammar warning
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 24 Feb 2021 17:29:25 +0000 (18:29 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 24 Feb 2021 17:29:25 +0000 (18:29 +0100)
* lisp/cedet/semantic/wisent/python.el: Fix warning about
shift/reduce conflicts in the Python grammar.

lisp/cedet/semantic/wisent/python.el

index 7769ad1961b06d373127a41be4b6a0fbffb8a32c..74f190c08606ba569bc7c453032564676d8e5143 100644 (file)
 ;; 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)