]> code.delx.au - gnu-emacs/commitdiff
#Updated to 5.30.4.
authorMartin Stjernholm <mast@lysator.liu.se>
Wed, 16 Jul 2003 21:00:21 +0000 (21:00 +0000)
committerMartin Stjernholm <mast@lysator.liu.se>
Wed, 16 Jul 2003 21:00:21 +0000 (21:00 +0000)
lisp/ChangeLog
lisp/progmodes/cc-vars.el

index f62e33326c5b7bd3f54bd68a7c2dfbf5ab02e0ca..67252fe15b1abad8b6b97f08f3fa47a593c54fd6 100644 (file)
@@ -1,3 +1,18 @@
+2003-07-16  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-defs.el (c-langelem-sym, c-langelem-pos,
+       c-langelem-2nd-pos): Added accessor functions for syntactic
+       elements.
+
+2003-07-16  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-literal-faces): Declare as a variable
+       since it might be modified.
+
+       * progmodes/cc-langs.el: (c++-make-template-syntax-table,
+       c-syntactic-ws-start, c-syntactic-ws-end): Gave more consistent
+       names to these language constants.
+
 2003-07-15  Kim F. Storm  <storm@cua.dk>
 
        * apropos.el (apropos-sort-by-scores): Rename from apropos-show-scores.
index d11a04f8cd9bd34b2baf2919be87b18e185c3faa..e60854f3f50f2d5fb58988fa9b0a3cae6d8eb3a0 100644 (file)
@@ -1504,14 +1504,9 @@ as designated in the variable `c-file-style'.")
 (cc-bytecomp-defvar c-syntactic-context)
 (defvar c-syntactic-context)
 ;; Variable containing the syntactic analysis list during indentation.
-;; It is a list with one element for each found syntactic symbol.
-;; Each element is a list with the symbol name in the first position,
-;; followed by zero or more elements containing any additional info
-;; associated with the syntactic symbol.  Specifically, the second
-;; element is the relpos (a.k.a. anchor position), or nil if there
-;; isn't any.  See the comments in the `c-offsets-alist' variable for
-;; more detailed info about the data each syntactic symbol provides.
-;; 
+;; It is a list with one element for each found syntactic symbol.  See
+;; `c-syntactic-element' for further info.
+;;
 ;; This is always bound dynamically.  It should never be set
 ;; statically (e.g. with `setq').
 
@@ -1519,7 +1514,17 @@ as designated in the variable `c-file-style'.")
 (defvar c-syntactic-element)
 ;; Variable containing the info regarding the current syntactic
 ;; element during calls to the lineup functions.  The value is one of
-;; the elements in the list in `c-syntactic-context'.
+;; the elements in the list in `c-syntactic-context' and is a list
+;; with the symbol name in the first position, followed by zero or
+;; more elements containing any additional info associated with the
+;; syntactic symbol.  There are accessor functions `c-langelem-sym',
+;; `c-langelem-pos', `c-langelem-col', and `c-langelem-2nd-pos' to
+;; access the list.
+;;
+;; Specifically, the element returned by `c-langelem-pos' is the
+;; relpos (a.k.a. anchor position), or nil if there isn't any.  See
+;; the comments in the `c-offsets-alist' variable for more detailed
+;; info about the data each syntactic symbol provides.
 ;; 
 ;; This is always bound dynamically.  It should never be set
 ;; statically (e.g. with `setq').