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 114113 - Wrong Syntax Error
Summary: Wrong Syntax Error
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: languages (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Jan Jancura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-29 12:40 UTC by Jan Jancura
Modified: 2007-09-21 18: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 Jan Jancura 2007-08-29 12:40:47 UTC
Token Literals. F.I. why this declarations are wrong :
TOKEN:string: (
["\""]|["'"]
([^ "\"" "\n" "\r"] |
("\\"<-(I am gettin error here) ["r" "n" "t" "\\" "\'" "\""])
)*
["\""]|["'"]
)

TOKEN:char: (
"\'"
( [^"\'" "\n" "\r"] |
("\\"<-(I am gettin error here) ["r" "n" "t" "\\" "\'" "\""])
)
"\'"
)


and
nbs.nbs
Comment 1 Jan Jancura 2007-09-21 18:01:58 UTC
fixed in trunk:
cvs commit -m "114113: Wrong Syntax Error" -- NBS.nbs (in directory
C:\Hanz\Dev\trunk\languages\engine\src\org\netbeans\modules\languages\resources\)
Checking in NBS.nbs;
/cvs/languages/engine/src/org/netbeans/modules/languages/resources/NBS.nbs,v  <--  NBS.nbs
new revision: 1.24; previous revision: 1.23
done