mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-01 08:17:38 +00:00
(c-guess-basic-syntax): prevent a macro call inside a struct being
recognised as a K&R argument.
This commit is contained in:
parent
2780711e73
commit
f189315dde
@ -8293,6 +8293,7 @@ comment at the start of cc-engine.el for more info."
|
||||
|
||||
;; CASE 5H: we could be looking at subsequent knr-argdecls
|
||||
((and c-recognize-knr-p
|
||||
(not containing-sexp) ; can't be knr inside braces.
|
||||
(not (eq char-before-ip ?}))
|
||||
(save-excursion
|
||||
(setq placeholder (cdr (c-beginning-of-decl-1 lim)))
|
||||
|
Loading…
Reference in New Issue
Block a user