1
0
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:
Alan Mackenzie 2008-01-14 19:17:31 +00:00
parent 2780711e73
commit f189315dde

View File

@ -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)))