# HG changeset patch # User Alan Mackenzie # Date 1188061566 0 # Node ID c71eaf555f05474683308a12421c3d62e73fc360 # Parent 7af2114fd324795f909d7269e174e3f169f315fa (c-other-decl-block-key-in-symbols-alist): new language variable. diff -r 7af2114fd324 -r c71eaf555f05 lisp/progmodes/cc-langs.el --- a/lisp/progmodes/cc-langs.el Sat Aug 25 17:05:11 2007 +0000 +++ b/lisp/progmodes/cc-langs.el Sat Aug 25 17:06:06 2007 +0000 @@ -1601,6 +1601,17 @@ 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.