diff options
author | Glenn Morris <rgm@gnu.org> | 2013-05-24 00:01:49 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-05-24 00:01:49 -0700 |
commit | e670054b6647eb3bb96be4037174484582817f09 (patch) | |
tree | d501d7726ec61463f9a7460816579595c2c81749 /lisp/cedet/semantic | |
parent | af5c7606d1028e422d4ad2a5260be75f04e5dac8 (diff) | |
download | emacs-e670054b6647eb3bb96be4037174484582817f09.tar.gz emacs-e670054b6647eb3bb96be4037174484582817f09.tar.bz2 emacs-e670054b6647eb3bb96be4037174484582817f09.zip |
Silence some cedet compilation warnings
* cedet/semantic/bovine/c-by.el (semantic-parse-region):
* cedet/semantic/wisent/javat-wy.el (semantic-parse-region):
* cedet/semantic/wisent/js-wy.el (semantic-parse-region):
* cedet/semantic/wisent/python-wy.el (semantic-parse-region): Declare.
* cedet/semantic/bovine/grammar.el (bovine-make-parsers):
Avoid free variable `copyright-end'.
Diffstat (limited to 'lisp/cedet/semantic')
-rw-r--r-- | lisp/cedet/semantic/bovine/c-by.el | 10 | ||||
-rw-r--r-- | lisp/cedet/semantic/bovine/grammar.el | 2 | ||||
-rw-r--r-- | lisp/cedet/semantic/wisent/javat-wy.el | 2 | ||||
-rw-r--r-- | lisp/cedet/semantic/wisent/js-wy.el | 2 | ||||
-rw-r--r-- | lisp/cedet/semantic/wisent/python-wy.el | 8 |
5 files changed, 18 insertions, 6 deletions
diff --git a/lisp/cedet/semantic/bovine/c-by.el b/lisp/cedet/semantic/bovine/c-by.el index 5317d838fbd..af3724a32c8 100644 --- a/lisp/cedet/semantic/bovine/c-by.el +++ b/lisp/cedet/semantic/bovine/c-by.el @@ -28,9 +28,13 @@ ;;; Prologue ;; -(declare-function semantic-c-reconstitute-token "semantic/bovine/c") -(declare-function semantic-c-reconstitute-template "semantic/bovine/c") -(declare-function semantic-expand-c-tag "semantic/bovine/c") +(declare-function semantic-c-reconstitute-token "semantic/bovine/c" + (tokenpart declmods typedecl)) +(declare-function semantic-c-reconstitute-template "semantic/bovine/c" + (tag specifier)) +(declare-function semantic-expand-c-tag "semantic/bovine/c" (tag)) +(declare-function semantic-parse-region "semantic" + (start end &optional nonterminal depth returnonerror)) ;;; Declarations ;; diff --git a/lisp/cedet/semantic/bovine/grammar.el b/lisp/cedet/semantic/bovine/grammar.el index 3aee57e9d10..0133ee72b18 100644 --- a/lisp/cedet/semantic/bovine/grammar.el +++ b/lisp/cedet/semantic/bovine/grammar.el @@ -455,7 +455,7 @@ Menu items are appended to the common grammar menu.") (with-current-buffer (find-file-noselect f) (semantic-grammar-create-package)) (error (message "%s" (error-message-string err)) nil))) - lang filename) + lang filename copyright-end) (when (and packagename (string-match "^.*/\\(.*\\)-by\\.el\\'" packagename)) (setq lang (match-string 1 packagename)) diff --git a/lisp/cedet/semantic/wisent/javat-wy.el b/lisp/cedet/semantic/wisent/javat-wy.el index f082358c4f5..1156cb5792c 100644 --- a/lisp/cedet/semantic/wisent/javat-wy.el +++ b/lisp/cedet/semantic/wisent/javat-wy.el @@ -28,6 +28,8 @@ ;;; Prologue ;; +(declare-function semantic-parse-region "semantic" + (start end &optional nonterminal depth returnonerror)) ;;; Declarations ;; diff --git a/lisp/cedet/semantic/wisent/js-wy.el b/lisp/cedet/semantic/wisent/js-wy.el index 817afa861d4..2e331b1c4d9 100644 --- a/lisp/cedet/semantic/wisent/js-wy.el +++ b/lisp/cedet/semantic/wisent/js-wy.el @@ -64,6 +64,8 @@ ;;; Prologue ;; +(declare-function semantic-parse-region "semantic" + (start end &optional nonterminal depth returnonerror)) ;;; Declarations ;; diff --git a/lisp/cedet/semantic/wisent/python-wy.el b/lisp/cedet/semantic/wisent/python-wy.el index 836fe232d56..bfa96ff1a88 100644 --- a/lisp/cedet/semantic/wisent/python-wy.el +++ b/lisp/cedet/semantic/wisent/python-wy.el @@ -81,8 +81,12 @@ ;;; Prologue ;; -(declare-function wisent-python-reconstitute-function-tag "semantic/wisent/python") -(declare-function wisent-python-reconstitute-class-tag "semantic/wisent/python") +(declare-function wisent-python-reconstitute-function-tag + "semantic/wisent/python" (tag suite)) +(declare-function wisent-python-reconstitute-class-tag "semantic/wisent/python" + (tag)) +(declare-function semantic-parse-region "semantic" + (start end &optional nonterminal depth returnonerror)) ;;; Declarations ;; |