emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 1f5ed3e: Fix wisent/python.el grammar warning


From: Lars Ingebrigtsen
Subject: master 1f5ed3e: Fix wisent/python.el grammar warning
Date: Wed, 24 Feb 2021 12:29:38 -0500 (EST)

branch: master
commit 1f5ed3edc6244a26697ff5584431ff546aeaf9a4
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix wisent/python.el grammar warning
    
    * lisp/cedet/semantic/wisent/python.el: Fix warning about
    shift/reduce conflicts in the Python grammar.
---
 lisp/cedet/semantic/wisent/python.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lisp/cedet/semantic/wisent/python.el 
b/lisp/cedet/semantic/wisent/python.el
index 7769ad19..74f190c 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]