GNU bug report logs -
#13100
24.2; c-guess-basic-syntax of cc-engine returned wrong syntactic context if init list of C++ class constructor is too long
Previous Next
Reported by: Yangyingchao <yangyingchao <at> gmail.com>
Date: Thu, 6 Dec 2012 06:08:02 UTC
Severity: normal
Found in version 24.2
Fixed in version 24.4
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello, Stefan.
On Mon, Sep 30, 2019 at 18:45:54 +0200, Stefan Kangas wrote:
> Yangyingchao <yangyingchao <at> gmail.com> writes:
> > I'm a c++ programer, and sometimes I need to initialize lots of
> > member fields during in a constructor. Sometimes when the init list
> > is too long, cc mode will treat some member-init-cont as
> > topmost-init-cont, and then gives a wrong indention.
> > After some debuging, I found this change:
> > http://lists.gnu.org/archive/html/emacs-diffs/2012-03/msg00152.html.
> > In this change, In CASE 5B, search limit is restricted to 500. This,
> > sometimes, is not enough.
> > Best Regards
> > Tubo
> That was almost 7 years ago. Is this still an issue?
No. This was solved in response to another bug report by commit
3d1c39faa4744f87838ecd07fdf01787d5235186
Tue Apr 30 16:19:14 2013 +0000
Handle arbitrarily long C++ member initialisation lists.
Please feel free to close this bug report.
> Best regards,
> Stefan Kangas
--
Alan Mackenzie (Nuremberg, Germany).
This bug report was last modified 5 years and 295 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.