From 027d6bb11403cd7ee09d69003a94f88e00687df1 Mon Sep 17 00:00:00 2001 From: Alan Mackenzie Date: Mon, 14 Jan 2008 19:23:32 +0000 Subject: [PATCH] (c-guess-basic-syntax): prevent a macro call inside a struct being recognised as a K&R argument. --- lisp/progmodes/cc-engine.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index 7cac158166e..9718bd0ddc9 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el @@ -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 ?})) (save-excursion (setq placeholder (cdr (c-beginning-of-decl-1 lim))) -- 2.39.2