From 1f5ed3edc6244a26697ff5584431ff546aeaf9a4 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 24 Feb 2021 18:29:25 +0100 Subject: [PATCH] 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 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) -- 2.39.2