[antlr-interest] antlr 3 woe

fhaupt at informatik.uni-wuerzburg.de fhaupt at informatik.uni-wuerzburg.de
Mon Dec 4 14:15:26 PST 2006


ok, 

it seems to be a problem of the rest :(

this part is working perfectly...

thanks anyways


On Mon, Dec 04, 2006 at 11:06:08PM +0100, fhaupt at informatik.uni-wuerzburg.de wrote:
> 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/5a505356/attachment.bin 


More information about the antlr-interest mailing list