[antlr-interest] Value passed to String based rule parameter has spaces inserted after commas.
Randall R Schulz
rschulz at sonic.net
Sat Jul 21 07:17:07 PDT 2007
On Saturday 21 July 2007 05:55, Benjamin Niemann wrote:
> Sam Ellis wrote:
> > ...
>
> So finally: to work around this limitation, use something like that:
Or, in the original construction, an octal or unicode escape, depending
on target language, could be used instead of the literal comma, right?
> bowl
>
> : { f = "apple,orange"; }
>
> fruit[f]
> ;
Randall Schulz
More information about the antlr-interest
mailing list