[antlr-interest] Parsing expressions inside a double quoted string?

Pete Forman pete.forman at westerngeco.com
Wed Jul 9 07:19:54 PDT 2003


At 2003-07-09 07:43 -0300, Rodrigo Oliveira wrote:
>You mean by using a filter?

Not a filter but a second lexer.  The main lexer should switch to the 
second when it finds the opening double quote.  One example is in the Java 
parser for javadoc comments IIRC.

-- 
Pete Forman                -./\.-  Disclaimer: This post is originated
WesternGeco                  -./\.-   by myself and does not represent
pete.forman at westerngeco.com    -./\.-   opinion of Schlumberger, Baker
http://petef.port5.com           -./\.-   Hughes or their divisions.


 

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




More information about the antlr-interest mailing list