# HG changeset patch # User Alan Mackenzie # Date 1188060849 0 # Node ID d9f04596fa48b18908559591a1c024c9bb93672e # Parent b3cad8795b9137d56041ae80b6db5e43a8cff8b0 (c-other-decl-block-key-in-symbols-alist): new language variable. diff -r b3cad8795b91 -r d9f04596fa48 lisp/progmodes/cc-langs.el --- a/lisp/progmodes/cc-langs.el Sat Aug 25 16:50:26 2007 +0000 +++ b/lisp/progmodes/cc-langs.el Sat Aug 25 16:54:09 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.