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 - lexer problem ("/" in skipped part of preproc branch cause unexpected token)
Summary: lexer problem ("/" in skipped part of preproc branch cause unexpected token)
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-10 08:59 UTC by Vladimir Voskresensky
Modified: 2006-05-16 12:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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