On Thu, Sep 22, 2011 at 3:46 PM, Gabriel Miro <[email protected]> wrote:

> COMP_OP    :     '<>' -> template() "!="
>        | '<='
>        | '<'
>        | '>='
>        | '>'
>        ;
>

 String templates are not my strong suit and I could not verify this in the
book on on the web site, so there is a chance this might be wrong.

COMP_OP is a lexer rule and lexer rules don't support string templates.
Think about what a lexer and parser do and it should be more apparent.

Eric

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