From: Alan Mackenzie Date: Sat, 25 Aug 2007 17:06:06 +0000 (+0000) Subject: (c-other-decl-block-key-in-symbols-alist): new language variable. X-Git-Tag: emacs-pretest-23.0.90~11314 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=02df5de4cad21eb7125d32da5d1f18b62bb143b3;p=emacs.git (c-other-decl-block-key-in-symbols-alist): new language variable. --- 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.