[antlr-interest] wchar

Ric Klaren ric.klaren at gmail.com
Sun Mar 6 13:01:50 PST 2005


Eran Werner wrote:
> How can I use antlr with wide characters. The provided CharInputBuffer class
> supports only char streams

You might try adapting the examples/cpp/unicode example's custom 
inputbuffer and charscanner to work with wchars. Then use those not 100% 
sure if any further patching inside the lib or tool is necessary (my 
hunch is not...).

Cheers,

Ric


More information about the antlr-interest mailing list