From f189315dde3522f7fc76261d85e54563d10ad437 Mon Sep 17 00:00:00 2001 From: Alan Mackenzie Date: Mon, 14 Jan 2008 19:17:31 +0000 Subject: (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(+) (limited to 'lisp') diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index 3f86e931d3..8596aaad4c 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el @@ -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))) -- cgit v1.2.3