help-flex
[Top][All Lists]
Advanced

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

Re: yylex and yy_scan_string()


From: Frederico Mameri
Subject: Re: yylex and yy_scan_string()
Date: Wed, 23 Mar 2005 20:02:41 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Nicolas Peyrussie <nicolas.peyrussie <at> laposte.net> writes:

> 
> So the trouble is that the parser stops instead of continuing on the
> rest of the input.
> How can I avoid this problem ? The point is that I can't create
> temporary files (I want to use just the html page as FILE in yyin)
> because many instances of the program will run in the same time and it
> would write in the same file the tokens for different html pages.
> 
> I thank you in advance for your answers.
> 

I can't tell for sure.
But I think that yy_scan_string does not change the start condition.
And you should also delete the buffer with 'yy_delete_buffer()' when you're done
with it.
Let me know if it works!






reply via email to

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