[antlr-interest] antlr 3 woe

fhaupt at informatik.uni-wuerzburg.de fhaupt at informatik.uni-wuerzburg.de
Mon Dec 4 14:06:08 PST 2006


Hi there,

it works with the new release..

Now i have a strang problem: I'm trying to macht a rather simple statement:



Author="J.Doe"


my grammar so far is : (actually thats part of a bigger grammar, but thats the part is problematic for me)

author	:	AUTHORK EQ SIG STRING SIG;

fragment AUTHORK	:	'Author';
EQ	:	'=';
SIG	:	'"';
STRING	:	('a'..'z'|'A'..'Z'|'0'..'9'|'.')+;


but the i keeps getting me an MismachtedTokenException(0!=0)

what das this mean? is there anyting i have to activate or toggel to allow '"'?

thanks for any help in advandce

greets
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20061204/5f4de5bd/attachment.bin 


More information about the antlr-interest mailing list