[antlr-interest] SQL string literals
Pete Forman
pete.forman at westerngeco.com
Fri May 31 08:43:59 PDT 2002
At 2002-05-31 07:57 -0700, mzukowski at yci.com wrote:
>I think a syntactic predicate would do the trick. Try this:
>
>STRING
> : '"'! (~('"')|('"''"')=>'"''"'!)* '"'!
> ;
sql.g:4: warning: lexical nondeterminism upon
sql.g:4: k==1:'"'
sql.g:4: between alt 2 and exit branch of block
--
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