diff options
| author | Alan Mackenzie | 2019-05-02 20:53:47 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2019-05-02 20:53:47 +0000 |
| commit | d9f62fceaf2915c67f6917c668af6ff4aacc26a7 (patch) | |
| tree | b690acb6e6052d1d5e376654614475a58603e1ff /src/bytecode.c | |
| parent | 17a722982cca4e8e643c7a9102903e820e784cc6 (diff) | |
| download | emacs-d9f62fceaf2915c67f6917c668af6ff4aacc26a7.tar.gz emacs-d9f62fceaf2915c67f6917c668af6ff4aacc26a7.zip | |
Fix fontification of first item in CC Mode macro without parentheses
* lisp/progmodes/cc-engine.el (c-find-decl-prefix-search): Handle the new
matching possibility (of a #define construct) in the new
c-decl-prefix-or-start-re.
(c-find-decl-spots): Allow the initial search for an in-macro starting point
settle on the # of #define, to facilitate the regexp matching in
c-find-decl-prefix-search.
* lisp/progmodes/cc-langs.el (c-anchored-hash-define-no-parens): New lang
const.
(c-literal-start-regexp): Correct what was always supposed to be a "generic
string" regexp element.
(c-decl-prefix-or-start-re): Enhance also to match "#define <identifier>".
(c-dposr-cpp-macro-depth): New lang variable and lang constant.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions