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

Summary: Wrong Syntax Error
Product: obsolete Reporter: Jan Jancura <jjancura>
Component: languagesAssignee: Jan Jancura <jjancura>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

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