summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2007-08-25 16:54:09 +0000
committerAlan Mackenzie <acm@muc.de>2007-08-25 16:54:09 +0000
commit24c8dc899a16331e25aeb9d6c74f498db8ac92c3 (patch)
treeeed011ac958b5928698b0472a733258454222781
parent9ab76970ddf4844ad22fd04626018625f0628c16 (diff)
downloademacs-24c8dc899a16331e25aeb9d6c74f498db8ac92c3.tar.gz
(c-other-decl-block-key-in-symbols-alist): new language variable.
-rw-r--r--lisp/progmodes/cc-langs.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index c5d9c162520..5f9dbad3be2 100644
--- a/lisp/progmodes/cc-langs.el
+++ b/lisp/progmodes/cc-langs.el
@@ -1601,6 +1601,17 @@ will be handled."
t (c-make-keywords-re t (c-lang-const c-other-block-decl-kwds)))
(c-lang-defvar c-other-decl-block-key (c-lang-const c-other-decl-block-key))
+(c-lang-defvar c-other-decl-block-key-in-symbols-alist
+ (mapcar
+ (lambda (elt)
+ (cons elt
+ (if (string= elt "extern")
+ 'inextern-lang
+ (intern (concat "in" elt)))))
+ (c-lang-const c-other-block-decl-kwds))
+ "Alist associating keywords in c-other-decl-block-decl-kwds with
+their matching \"in\" syntactic symbols.")
+
(c-lang-defconst c-typedef-decl-kwds
"Keywords introducing declarations where the identifier(s) being
declared are types.