changeset 105323:caba6faa5726

(semantic-c-reset-preprocessor-symbol-map): Fix declaration. (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
author Glenn Morris <rgm@gnu.org>
date Thu, 01 Oct 2009 02:19:38 +0000
parents 4c610ec5ed40
children 2701a9aa1147
files lisp/ChangeLog lisp/cedet/semantic/bovine/gcc.el
diffstat 2 files changed, 9 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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  <rgm@gnu.org>
 
+	* 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.
--- 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