|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#15728: closed (24.3.50; cc-mode incorrectly parses particular macro) |
Date: | Sun, 27 Oct 2013 21:55:02 +0000 |
Your message dated Sun, 27 Oct 2013 21:51:54 +0000 with message-id <address@hidden> and subject line Re: bug #15728: 24.3.50; cc-mode incorrectly parses particular macro has caused the debbugs.gnu.org bug report #15728, regarding 24.3.50; cc-mode incorrectly parses particular macro to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 15728: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15728 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: 24.3.50; cc-mode incorrectly parses particular macro Date: Sat, 26 Oct 2013 21:16:12 -0700 I have the following source file: ========================================================================= int f(void) { #define A(b) \ int abc ## b; \ g() } ========================================================================= This indentation is what the latest emacs thinks is correct. Note that the g() line is indented ahead of the 'int abc' line. This is wrong; they should have the same indentation. Indeed this is what happens with emacs23. In the latest emacs the syntax parser thinks the g() line is 'statement-cont', instead of 'statement'; this is directly related to the issue. Furthermore, the 'abc ## b' construct is what's confusing the parser. Removing the '##' makes it parse correctly again. I'm observing this issue with all emacs24 builds I've tried, with 'emacs -Q'.
--- End Message ---
--- Begin Message ---Subject: Re: bug #15728: 24.3.50; cc-mode incorrectly parses particular macro Date: Sun, 27 Oct 2013 21:51:54 +0000 User-agent: Mutt/1.5.21 (2010-09-15) Bug fixed. -- Alan Mackenzie (Nuremberg, Germany).
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |