[antlr-interest] Converting ANTLR-Lexer to FLEX

Serg sun2 at public.kherson.ua
Sun Dec 5 17:26:33 PST 2004



I have such ANTLR-lexer rule:

STRING_LITERAL
    :   QUOTE! 
            ( ~('\'')
            | ( QUOTE QUOTE! )
            )*
        QUOTE!
    ;

How can I write this rule on the Flex?
I can't understand how to do this operation (QUOTE!) in the Flex.

-- 
Best regards,
Serg







 
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