]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix compilation warning in python-wy.el after lexical rewrite
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 12 Mar 2021 00:20:07 +0000 (01:20 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 12 Mar 2021 00:20:07 +0000 (01:20 +0100)
* admin/grammars/python.wy: Require semantic/tag.

In end of data:
cedet/semantic/wisent/python-wy.el:862:1: Warning: the function
    `semantic-tag-name' might not be defined at runtime.

admin/grammars/python.wy

index 22e85570dc195ed91b2e136c89c28eb7924fe6cc..2539d1bec8c91446ca1036f77d192ac595e7fd06 100644 (file)
@@ -91,6 +91,7 @@
 %expectedconflicts 5
 
 %{
+(require 'semantic/tag)
 (declare-function wisent-python-reconstitute-function-tag
                  "semantic/wisent/python" (tag suite))
 (declare-function wisent-python-reconstitute-class-tag "semantic/wisent/python"