emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-langs.el, v [EMACS_22_B


From: Alan Mackenzie
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-langs.el, v [EMACS_22_BASE]
Date: Tue, 29 Jan 2008 20:30:55 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Alan Mackenzie <acmacm> 08/01/29 20:30:55

Index: cc-langs.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/cc-langs.el,v
retrieving revision 1.47.2.5
retrieving revision 1.47.2.6
diff -u -b -r1.47.2.5 -r1.47.2.6
--- cc-langs.el 7 Jan 2008 02:10:57 -0000       1.47.2.5
+++ cc-langs.el 29 Jan 2008 20:30:54 -0000      1.47.2.6
@@ -1771,11 +1771,13 @@
 (c-lang-defvar c-prefix-spec-kwds-re (c-lang-const c-prefix-spec-kwds-re))
 
 (c-lang-defconst c-specifier-key
-  ;; Adorned regexp of the keywords in `c-prefix-spec-kwds' that
-  ;; aren't ambiguous with types or type prefixes.
+  ;; Adorned regexp of the keywords in `c-prefix-spec-kwds' that aren't
+  ;; ambiguous with types or type prefixes.  These are the keywords (like
+  ;; extern, namespace, but NOT template) that can modify a declaration.
   t (c-make-keywords-re t
       (set-difference (c-lang-const c-prefix-spec-kwds)
-                     (c-lang-const c-type-start-kwds)
+                     (append (c-lang-const c-type-start-kwds)
+                             (c-lang-const c-<>-arglist-kwds))
                      :test 'string-equal)))
 (c-lang-defvar c-specifier-key (c-lang-const c-specifier-key))
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]