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.
when I have a code reading: #define SOME_CONST value /* multiline explanation of the meaning of the constant */ it will color the ending "*/" as error nad the whole second line is not considered a comment
(this bug is about build: "dev-1".) So, according to: http://gcc.gnu.org/onlinedocs/gcc-2.95.3/cpp_1.html#SEC1 this code: #define X /* foo bar */ x has following sense: define macro "X" with content " x". I corrected syntax highlighting to reflect this meaning. I also found that continuing preprocessor directives were not handled properly - I fix it also. Fixed in: /cvs/cpplite/src/org/netbeans/modules/cpplite/syntax/CPPSyntax.java in revision 1.3 It will be in build "dev-2".