This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 124225 [details] Unexpected const. Unexpected token const. See attachment. Version from mercurial, 737c21309850
Also i've found this bug on 7.2 release version (project and source code is same).
Hello, Is it present if you comment destructor?
Hello. Yes, I've just checked, it is present with commented destructor. (In reply to comment #2) > Hello, > > Is it present if you comment destructor?
Created attachment 125204 [details] Invalid code AST. Looks like NB try to parse methods as fields.
Please, try -J-Dcnd.language.flavor.cpp11=true If it would help, then it's a problem in project setup.
*** This bug has been marked as a duplicate of bug 217052 ***