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.
How is in standard described C++ can have alternative tokens <% %> - { } and - && ... In current version if I use this tokens parser show unresolved icon. if first <% %> are not often used (IMHO) but logical operators for users who are switched from others language to C++ (pascal ...) are more acquainted. And this is very important for new users (for IDE and for C++). But I understand that this is compiler-depended feature and propose to analyze compiler settings for usage this tokens and use this in code parsing.
Converting to defect. Highlighting correct code as error is not good.
It's not targeted to the current release.
I've already fixed it in my local repository :)
fixed http://hg.netbeans.org/cnd-main?cmd=changeset;node=1ef7152ff943
Nik, please, update CppTokenId as well to be consistent
I've fixed parser to avoid missed declarations from some legacy code. I didn't fix coloring and indent. Also will have a lot of completion bugs on such code. But I think that it's a P4 like trigraphs support. And I'd like it to be filed separately. Named operations and, bitor, etc. added to lexer.
(In reply to comment #6) > But I think that it's a P4... Reformat can make source code not compiled. It is P2.