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.

Bug 76141

Summary: lexer problem ("/" in skipped part of preproc branch cause unexpected token)
Product: cnd Reporter: Vladimir Voskresensky <vv159170>
Component: -- Other --Assignee: issues@cnd <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Voskresensky 2006-05-10 08:59:57 UTC
Following example (pp_endif.cpp)
#ifdef A
    int a[8 / 4];
#endif
cause unexpected token.
#./tracemodel.sh -w pp_endif.cpp
pp_endif.cpp:2:13: expecting EOF, found '/'
pp_endif.cpp:2:13: expecting EOF, found '/'
Comment 1 Vladimir Voskresensky 2006-05-10 10:39:13 UTC
Fix commited. Updated rule "Skip" in lexer