diff options
| author | Alan Mackenzie | 2023-10-13 14:27:18 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2023-10-13 14:27:18 +0000 |
| commit | 97959349651a8fb170c1c754e73a4d86ed24d018 (patch) | |
| tree | baf2c50be33298154f24c2a32ca222ac09df5181 /java | |
| parent | bbccef3ceb63bc17ab9d2aee5326df5d70ce4ab3 (diff) | |
| download | emacs-97959349651a8fb170c1c754e73a4d86ed24d018.tar.gz emacs-97959349651a8fb170c1c754e73a4d86ed24d018.zip | |
Fix c-in-knr-argdecl to avoid false recognition of K&R
In the OP's test case, the type of a declaration was a macro
with parentheses, which confused c-in-knr-argdecl.
* lisp/progmodes/cc-engine.el (c-in-knr-argdecl): Amend this
function to return nil if a "parameter declaration" can't be
parsed as a declaration.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions