From e670054b6647eb3bb96be4037174484582817f09 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 24 May 2013 00:01:49 -0700 Subject: [PATCH] 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'. --- lisp/cedet/ChangeLog | 10 ++++++++++ lisp/cedet/semantic/bovine/c-by.el | 10 +++++++--- lisp/cedet/semantic/bovine/grammar.el | 2 +- lisp/cedet/semantic/wisent/javat-wy.el | 2 ++ lisp/cedet/semantic/wisent/js-wy.el | 2 ++ lisp/cedet/semantic/wisent/python-wy.el | 8 ++++++-- 6 files changed, 28 insertions(+), 6 deletions(-) diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog index 486f1abfeda..25f966362ce 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog @@ -1,3 +1,13 @@ +2013-05-24 Glenn Morris + + * semantic/bovine/grammar.el (bovine-make-parsers): + Avoid free variable `copyright-end'. + + * semantic/bovine/c-by.el (semantic-parse-region): + * semantic/wisent/javat-wy.el (semantic-parse-region): + * semantic/wisent/js-wy.el (semantic-parse-region): + * semantic/wisent/python-wy.el (semantic-parse-region): Declare. + 2013-05-22 Glenn Morris * ede/speedbar.el (ede-file-find, ede-tag-find): 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 ;; -- 2.39.2