help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reentrant issue


From: Danut Lipsa
Subject: reentrant issue
Date: Mon, 11 Nov 2002 16:04:34 +0200

I create a grammar for parsing SQL commands. I cannot use %pointer option because of strings containing escaped quotes. I need to use %array option in case input Sql contains strings, which have an escaped quote in them eg. Select * from table1 where book = 'Lee''s book'. In this case I'm trying to peek and check if the single quote is closing quote for the string or a part of the string. This cannot be achieved if I use the %pointer option. And if I use the %array option , this is not compatible with the -+ option which creates the yyFlexLexer object. I need to make the code reentrant so I need -+ option.
Can someone help me with this.

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail





reply via email to

[Prev in Thread] Current Thread [Next in Thread]