[antlr-interest] Catch all characters token

Steve Jones steve at istech.demon.co.uk
Wed Jul 7 04:06:25 PDT 2004


Hi,

I'm having trouble writting a lexer rule that will match all input between two 
keywords, eg:

BEGIN  any character sequence END

>>From this I'd like to generate and pass the tokens:

BEGIN 
SOME_TEXT 
END

to the parser.

Any ideas?

Thanks Steve



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list