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.
"*/" string is highlighted as error. But It is correct code. int main() { const/* */int*/* */i = 0; // const int* i = 0; return(0); }
fixed: - handle */* correctly in syntax cvs log: Checking in CCSyntax.java; /shared/data/ccvs/repository/cnd/core/src/org/netbeans/modules/cnd/editor/cplusplus/CCSyntax.java,v <-- CCSyntax.java new revision: 1.13; previous revision: 1.12 done + tests Checking in CCDocumentTokenizeUnitTestCase.java; /shared/data/ccvs/repository/cnd/core/test/unit/src/org/netbeans/modules/cnd/editor/cplusplus/CCDocumentTokenizeUnitTestCase.java,v <-- CCDocumentTokenizeUnitTestCase.java initial revision: 1.1 done RCS file: /shared/data/ccvs/repository/cnd/core/test/unit/src/org/netbeans/modules/cnd/editor/cplusplus/CCTokenizeUnitTestCase.java,v done Checking in CCTokenizeUnitTestCase.java; /shared/data/ccvs/repository/cnd/core/test/unit/src/org/netbeans/modules/cnd/editor/cplusplus/CCTokenizeUnitTestCase.java,v <-- CCTokenizeUnitTestCase.java initial revision: 1.1 done Checking in CCSyntaxUnitTest.java; /shared/data/ccvs/repository/cnd/core/test/unit/src/org/netbeans/modules/cnd/editor/cplusplus/CCSyntaxUnitTest.java,v <-- CCSyntaxUnitTest.java new revision: 1.3; previous revision: 1.2 done Checking in CCTokenizePreprocessorUnitTestCase.java; /shared/data/ccvs/repository/cnd/core/test/unit/src/org/netbeans/modules/cnd/editor/cplusplus/CCTokenizePreprocessorUnitTestCase.java,v <-- CCTokenizePreprocessorUnitTestCase.java new revision: 1.3; previous revision: 1.2 done
code is highlighted as error
thanks. need to update new lexer as well for such use case
fixed log: http://hg.netbeans.org/main?cmd=changeset;node=cdd07b4a729c
verified in 200803141205 build