[stringtemplate-interest] Misleading error...

Terence Parr parrt at cs.usfca.edu
Thu Oct 5 10:14:11 PDT 2006


On Oct 4, 2006, at 12:30 AM, Hill, Robert wrote:

> I inadvertently appended a semicolon to a single line template
>
> Template<blah>::="<blah> de blah";
>
> but received no direct error, other than all the templates below  
> this were missing on execution. I was left scratching my head for  
> fair while since only the odd template below the line was in use  
> when it failed, making the problem line less obvious.
>
> Heads up!

Thanks!  added:

http://www.antlr.org/wiki/display/ST/semicolon+in+ST+group+drops 
+remaining+rules

Ter



More information about the stringtemplate-interest mailing list