[antlr-interest] Java Target Generation Problem

Steve McFarlin smcfarlin at ocsnet.net
Sun Nov 8 00:44:24 PST 2009


Hello,

ANTLR Version 3.2
Error -  Cannot generate the grammar because:
error(100) : ... : syntax error: antlr: ... : unexpected token: / 
************* comment 2 *********/

This is a very minor issue you could assign a priority of -1 to.  
Placing block comments in a grammar file with nothing between them  
will cause a generation error. e.g.


prog	:	test;

/******
  comment 1
******/

/*********
  comment 2
*********/

test	:	'a' ;



Steve McFarlin



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091108/a026dbbd/attachment.html 


More information about the antlr-interest mailing list