Commit 027d6bb1 authored by Alan Mackenzie's avatar Alan Mackenzie
Browse files

(c-guess-basic-syntax): prevent a macro call inside a struct being

recognised as a K&R argument.
parent f4b08f54
......@@ -8296,6 +8296,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 ?}))
(setq placeholder (cdr (c-beginning-of-decl-1 lim)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment