[antlr-interest] Re: Odd Question Regarding Unexpected Charac
ter
mzukowski at yci.com
mzukowski at yci.com
Fri May 2 13:44:36 PDT 2003
Try running antlr.Tool with -traceLexer to see what the lexer is doing when
it lexes those characters.
Monty
-----Original Message-----
From: madison_stjames [mailto:madison_stjames at yahoo.com]
Sent: Friday, May 02, 2003 1:35 PM
To: antlr-interest at yahoogroups.com
Subject: [antlr-interest] Re: Odd Question Regarding Unexpected
Character
I want to process it as part of one of my productions in the
grammar. I tried simply creating a token, composed of those two
characters, then added that token to my production. (I'm not even
sure what those characters are, they don't appear to be ASCII or
Unicode.) I thought that this should have worked, but it didn't.
--- In antlr-interest at yahoogroups.com, mzukowski at y... wrote:
> What do you want to do with it? If you want to ignore it like
whitespace is
> ignored then put that character in your whitespace rule.
>
> Monty
>
> -----Original Message-----
> From: madison_stjames [mailto:madison_stjames at y...]
> Sent: Friday, May 02, 2003 11:06 AM
> To: antlr-interest at yahoogroups.com
> Subject: [antlr-interest] Odd Question Regarding Unexpected
Character
>
>
> While parsing a text file, I encountered the following in one of
my
> lines:
>
> Á
>
> Any idea how to deal with this? I tried creating a token for it,
but
> I'm obviously missing something.
>
> Thanks!
>
>
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list