[antlr-interest] Unicode literals
Ric Klaren
klaren at cs.utwente.nl
Thu Apr 22 00:43:34 PDT 2004
On Wed, Apr 21, 2004 at 05:04:25PM -0400, FranklinChen at cmu.edu wrote:
> I tried using unicode literals (such as '\u0294') in an action in a
> tree parser, and ANTLR complained this was illegal. I suggest this be
> allowed. (As a workaround, I am having to define the literal in
> another source file and import it.)
Quick fix is changing the charVocabulary in antlr/actions/java/action.g and
then rebuilding those.
Cheers,
Ric
--
-----+++++*****************************************************+++++++++-------
---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893722 ----
-----+++++*****************************************************+++++++++-------
'And this 'rebooting' business? Give it a good kicking, do you?' 'Oh, no,
of course, we ... that is ... well, yes, in fact,' said Ponder. 'Adrian
goes round the back and ... er ... prods it with his foot. But in a
technical way,' he added. --- From: Hogfather by Terry Pratchett.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list