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 94926 - *Code Model - APT* Lexer fails on asm comments with dbl-dots
Summary: *Code Model - APT* Lexer fails on asm comments with dbl-dots
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-08 09:44 UTC by Vladimir Voskresensky
Modified: 2007-12-24 09:00 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 2007-02-08 09:44:33 UTC
int main() {
   _asm
   {
        movd dx, 5             ; A.....B
   }
   return 0;
}

=>
#./tracemodel.sh lexer_bug.cc
Feb 8, 2007 12:43:56 PM
org.netbeans.modules.cnd.apt.impl.structure.APTBuilderImpl buildAPT
SEVERE: error on building APT
 /net/endif/export/home1/deimos/dev/spb/vv159170/ws2310/cnd/cnd-cvs/cnd/modelimpl/lexer_bug.cc:4:40:
expecting '.', found 'B'
lexer_bug.cc:4:35: expecting RCURLY, found '...'
lexer_bug.cc:0:0: expecting RCURLY, found '<no text>'
Comment 1 Vladimir Voskresensky 2007-02-08 10:38:19 UTC
fixed NUMBER rule

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