Brian Nelson wrote:
Seems to have a slightly different problem, and my attempt to implement class handling has failed in the same way.

added:
cssId
    : HASH IDENT
    ;

then added cssId to elementName. No dice, same error. I wonder if it has something to do with the # character itself? I am using 1.2.3 of antlrworks.
Please read all the way through the grammar and check the lexer tokens. The HASH token already includes the IDENT and so you don't need to add anything to it like IDENT

Jim

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

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

Reply via email to