Commit 5b8fa272 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

semantic/grammar byte compilation fixes

* lisp/cedet/semantic/grammar.el (semantic/analyze): Require to
avoid compilation warnings about unknown slots, and remove
declare-function.
parent 1cd77d20
......@@ -37,9 +37,9 @@
(require 'semantic/grammar-wy)
(require 'semantic/idle)
(require 'help-fns)
(require 'semantic/analyze)
(declare-function semantic-momentary-highlight-tag "semantic/decorate")
(declare-function semantic-analyze-context "semantic/analyze")
(declare-function semantic-analyze-tags-of-class-list
"semantic/analyze/complete")
......@@ -1878,7 +1878,6 @@ Optional argument COLOR determines if color is added to the text."
(define-mode-local-override semantic-analyze-current-context
semantic-grammar-mode (point)
"Provide a semantic analysis object describing a context in a grammar."
(require 'semantic/analyze)
(if (semantic-grammar-in-lisp-p)
(with-mode-local emacs-lisp-mode
(semantic-analyze-current-context point))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment