From: Glenn Morris Date: Thu, 1 Oct 2009 02:19:38 +0000 (+0000) Subject: (semantic-c-reset-preprocessor-symbol-map): Fix declaration. X-Git-Tag: emacs-pretest-23.1.90~1037 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=57b0083abbeba404b30cdae25e9791fd40bc9691;p=emacs.git (semantic-c-reset-preprocessor-symbol-map): Fix declaration. (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f10abfb6b70..decde262f49 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,9 @@ 2009-10-01 Glenn Morris + * cedet/semantic/bovine/gcc.el + (semantic-c-reset-preprocessor-symbol-map): Fix declaration. + (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes. + * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration rather than parsing it as a regexp. This relaxes the layout requirements and makes errors easier to detect. diff --git a/lisp/cedet/semantic/bovine/gcc.el b/lisp/cedet/semantic/bovine/gcc.el index 5466546b61c..64797e4aa81 100644 --- a/lisp/cedet/semantic/bovine/gcc.el +++ b/lisp/cedet/semantic/bovine/gcc.el @@ -28,8 +28,7 @@ (defvar semantic-lex-c-preprocessor-symbol-file) (defvar semantic-lex-c-preprocessor-symbol-map) -(declare-function semantic-c-reset-preprocessor-symbol-map - "semantic/bovine/gcc") +(declare-function semantic-c-reset-preprocessor-symbol-map "semantic/bovine/c") ;;; Code: @@ -63,7 +62,7 @@ to give to the program." ;;(semantic-gcc-get-include-paths "c") ;;(semantic-gcc-get-include-paths "c++") (defun semantic-gcc-get-include-paths (lang) - "Return include paths as gcc use them for language LANG." + "Return include paths as gcc uses them for language LANG." (let* ((gcc-cmd (cond ((string= lang "c") "gcc") ((string= lang "c++") "c++") @@ -139,9 +138,9 @@ to give to the program." "The GCC setup data. This is setup by `semantic-gcc-setup'. This is an alist, and should include keys of: - 'version - The version of gcc - '--host - The host symbol. (Used in include directories) - '--prefix - Where GCC was installed. + 'version - the version of gcc + '--host - the host symbol (used in include directories) + '--prefix - where GCC was installed. It should also include other symbols GCC was compiled with.") ;;;###autoload