On Thu, Apr 9, 2009 at 5:20 PM, Gavin Lambert <[email protected]> wrote: > At 19:10 9/04/2009, Indhu Bharathi wrote: >>WS: (' ' | '\n' | '\r' )+ {$channel=HIDDEN}; >> >>This should give you compile error. There must be a ';' >>immediately after 'HIDDEN'. ( {$channel=HIDDEN;} ) > > Python doesn't require semicolon statement terminators, does it?
no, it does not (but adding the semicolon made it work). I did not know the above was supposed to be python code. > Another possibility is some kind of interpreter vs. debugger weirdness. > ANTLR's interpreter mode is fairly useless (in that it often does the wrong > thing); Ah, good to know. I noticed some unexpected behavior, but I assumed I missed something. cheers, David 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 -~----------~----~----~----~------~----~------~--~---
