diff options
author | Alan Mackenzie <acm@muc.de> | 2016-01-22 22:31:23 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2016-01-22 22:31:23 +0000 |
commit | bbbb038654eab73624a5d51faa52f2d3f5db14b5 (patch) | |
tree | 60ec0e1a51aebf7d6060e9b469a45e815e8ae235 /lisp/emacs-lisp/easy-mmode.el | |
parent | 6ff8b45f18619c2dc95dfb1d92a5c48b14049973 (diff) | |
download | emacs-bbbb038654eab73624a5d51faa52f2d3f5db14b5.tar.gz emacs-bbbb038654eab73624a5d51faa52f2d3f5db14b5.tar.bz2 emacs-bbbb038654eab73624a5d51faa52f2d3f5db14b5.zip |
Prevent spurious recognition of K&R argument declarations. Fixes bug #2203
* cc-engine.el (c-forward-declarator): New function.
(c-in-knr-argdecl): Before recognizing a K&R argument declaration, check it is
contained in the preceding arg list.
* cc-fonts.el (c-font-lock-declarators): Use the new function
`c-forward-declarator' in place of inline code.
Diffstat (limited to 'lisp/emacs-lisp/easy-mmode.el')
0 files changed, 0 insertions, 0 deletions