# HG changeset patch # User Glenn Morris # Date 1254363578 0 # Node ID caba6faa572631dd5f065be21c20b548968f9ac7 # Parent 4c610ec5ed40789cc58f9eb4c6b16be3607b312c (semantic-c-reset-preprocessor-symbol-map): Fix declaration. (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes. diff -r 4c610ec5ed40 -r caba6faa5726 lisp/ChangeLog --- a/lisp/ChangeLog Thu Oct 01 02:17:38 2009 +0000 +++ b/lisp/ChangeLog Thu Oct 01 02:19:38 2009 +0000 @@ -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 -r 4c610ec5ed40 -r caba6faa5726 lisp/cedet/semantic/bovine/gcc.el --- a/lisp/cedet/semantic/bovine/gcc.el Thu Oct 01 02:17:38 2009 +0000 +++ b/lisp/cedet/semantic/bovine/gcc.el Thu Oct 01 02:19:38 2009 +0000 @@ -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 @@ ;;(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 @@ "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