]> git.eshelyaron.com Git - emacs.git/commitdiff
(semantic-c-reset-preprocessor-symbol-map): Fix declaration.
authorGlenn Morris <rgm@gnu.org>
Thu, 1 Oct 2009 02:19:38 +0000 (02:19 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 1 Oct 2009 02:19:38 +0000 (02:19 +0000)
(semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.

lisp/ChangeLog
lisp/cedet/semantic/bovine/gcc.el

index f10abfb6b700c0e03520ca32108e97714a75bb78..decde262f49e89f3b524319070019f5be81fa72c 100644 (file)
@@ -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.
index 5466546b61c4189f2492f9f3cf1d615953c4a754..64797e4aa8151b61554d10b0f6b175ed2667f385 100644 (file)
@@ -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