[antlr-interest] antlr 3 woe

fhaupt at informatik.uni-wuerzburg.de fhaupt at informatik.uni-wuerzburg.de
Mon Dec 4 14:27:00 PST 2006


I think i've stumbled upon the reason for the problems:

how can i match something like :

%META:TOPICINFO{}%


thist text should be matched by: 


meta	:      OTOPICINFO CTOPICINFO;

fragment OTOPICINFO
	:	'%META:TOPICINFO{' 
	;	
fragment CTOPICINFO:'}%';


but it isn't. maybe because of the string templates? how can i escap the }% part eg?

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/d2121787/attachment.bin 


More information about the antlr-interest mailing list