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 85413 - Lexer has problems with ddd's file ddd/yacctoC.h
Summary: Lexer has problems with ddd's file ddd/yacctoC.h
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-21 09:13 UTC by Vladimir Voskresensky
Modified: 2007-11-02 20:01 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-09-21 09:13:15 UTC
APT Lexer can't work out file ddd/yacctoC.h:
yacctoC.h:36:30: unexpected char: '('
        at
org.netbeans.modules.cnd.modelimpl.apt.impl.support.generated.APTLexer.nextToken(APTLexer.java:658)
        at
org.netbeans.modules.cnd.modelimpl.apt.impl.structure.APTBuilder.initNode(APTBuilder.java:148)
        at
org.netbeans.modules.cnd.modelimpl.apt.impl.structure.APTBuilder.addChildren(APTBuilder.java:115)
        at
org.netbeans.modules.cnd.modelimpl.apt.impl.structure.APTBuilder.buildFileAPT(APTBuilder.java:88)
        at
org.netbeans.modules.cnd.modelimpl.apt.impl.structure.APTBuilder.buildAPT(APTBuilder.java:47)
        at
org.netbeans.modules.cnd.modelimpl.apt.impl.support.APTDriverImpl$APTSyncCreator.findAPT(APTDriverImpl.java:110)
        at
org.netbeans.modules.cnd.modelimpl.apt.impl.support.APTDriverImpl.findAPT(APTDriverImpl.java:72)
        at
org.netbeans.modules.cnd.modelimpl.apt.support.APTDriver.findAPT(APTDriver.java:48)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.doAPTParse(FileImpl.java:458)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.doParse(FileImpl.java:375)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl._parse(FileImpl.java:331)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.parse(FileImpl.java:308)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.ensureParsed(FileImpl.java:174)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:54)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:50)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:516)
        at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:949)
Comment 1 Vladimir Voskresensky 2006-09-21 17:23:27 UTC
lexer need to handle usual back_slash. will commit tomorrow
Comment 2 Vladimir Voskresensky 2006-09-22 11:12:35 UTC
fixed by updating Whitespace rule to handle BACK_SLASH tokens

cvs log:
Checking in aptlexer.g;
/shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/apt/impl/support/aptlexer.g,v
 <--  aptlexer.g
new revision: 1.2.2.9; previous revision: 1.2.2.8
done