Mercurial > emacs
comparison lisp/progmodes/cc-langs.el @ 82842:c71eaf555f05
(c-other-decl-block-key-in-symbols-alist): new language variable.
author | Alan Mackenzie <acm@muc.de> |
---|---|
date | Sat, 25 Aug 2007 17:06:06 +0000 |
parents | d80d780fd6b4 |
children | 169408eb6887 |
comparison
equal
deleted
inserted
replaced
82841:7af2114fd324 | 82842:c71eaf555f05 |
---|---|
1599 ;; Regexp matching the start of blocks besides classes that contain | 1599 ;; Regexp matching the start of blocks besides classes that contain |
1600 ;; another declaration level. | 1600 ;; another declaration level. |
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. |
1607 | 1618 |
1608 If any of these also are on `c-type-list-kwds', `c-ref-list-kwds', | 1619 If any of these also are on `c-type-list-kwds', `c-ref-list-kwds', |