On Jan 18, 2009, at 12:38 PM, Rick Mann wrote:

> As I'm working on my language target, I see that Lexer.match(int c) in
> the Java target can create a MismatchedTokenException(), passing c in
> to its constructor.

weird. in the Java version, it treats it as a token type.

> The exception class seems to treat that int as a token. I wouldn't
> have thought Tokens and Characters to be interchangeable. What am I
> missing?

if that were the case, it wouldn't compile. Are you sure that it is  
treating it as a token?

Ter

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to