From: Alan Mackenzie Date: Mon, 14 Jan 2008 19:23:32 +0000 (+0000) Subject: (c-guess-basic-syntax): prevent a macro call inside a struct being X-Git-Tag: emacs-pretest-23.0.90~8573 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=027d6bb11403cd7ee09d69003a94f88e00687df1;p=emacs.git (c-guess-basic-syntax): prevent a macro call inside a struct being recognised as a K&R argument. --- 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)))