diff options
| author | Alan Mackenzie | 2007-08-25 17:06:06 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2007-08-25 17:06:06 +0000 |
| commit | 02df5de4cad21eb7125d32da5d1f18b62bb143b3 (patch) | |
| tree | 2b61203fe084b2770f084949dae4fb986583f6a2 | |
| parent | 82ba65cfe1cacc0d132d2c4a171a02920018a1f2 (diff) | |
| download | emacs-02df5de4cad21eb7125d32da5d1f18b62bb143b3.tar.gz emacs-02df5de4cad21eb7125d32da5d1f18b62bb143b3.zip | |
(c-other-decl-block-key-in-symbols-alist): new language variable.
| -rw-r--r-- | lisp/progmodes/cc-langs.el | 11 |
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." | |||
| 1601 | t (c-make-keywords-re t (c-lang-const c-other-block-decl-kwds))) | 1601 | t (c-make-keywords-re t (c-lang-const c-other-block-decl-kwds))) |
| 1602 | (c-lang-defvar c-other-decl-block-key (c-lang-const c-other-decl-block-key)) | 1602 | (c-lang-defvar c-other-decl-block-key (c-lang-const c-other-decl-block-key)) |
| 1603 | 1603 | ||
| 1604 | (c-lang-defvar c-other-decl-block-key-in-symbols-alist | ||
| 1605 | (mapcar | ||
| 1606 | (lambda (elt) | ||
| 1607 | (cons elt | ||
| 1608 | (if (string= elt "extern") | ||
| 1609 | 'inextern-lang | ||
| 1610 | (intern (concat "in" elt))))) | ||
| 1611 | (c-lang-const c-other-block-decl-kwds)) | ||
| 1612 | "Alist associating keywords in c-other-decl-block-decl-kwds with | ||
| 1613 | their matching \"in\" syntactic symbols.") | ||
| 1614 | |||
| 1604 | (c-lang-defconst c-typedef-decl-kwds | 1615 | (c-lang-defconst c-typedef-decl-kwds |
| 1605 | "Keywords introducing declarations where the identifier(s) being | 1616 | "Keywords introducing declarations where the identifier(s) being |
| 1606 | declared are types. | 1617 | declared are types. |