Re: LexerInput

Mihai Badea <[email protected]> Fri, 24 Nov 2006 11:14:27 +0200
Newsgroups gmane.comp.lex.flex.general
Message-ID <[email protected]>
Mihai Badea wrote:
> Hi,
> 
> I am studying a way to parse text data directly from memory (without using 
> aditional temporary buffers). My questions are:
> For C Flex:
> What is the procedure to make sure that after using scan_buffer() as input 
> method for Flex, the directly-scanned memory buffer remains intact (the 
> content is restored)?
> For Flex++:
> Is there a way to addapt LexerInput() in such a way the scanning is done 
> directly from the memory instead of reading into an additional buffer? If 
> so, I have the same question regarding to the preservation of the buffer.
> Any information or link to something would be helpful.
> 
> Thanks and best regards,
> Mihai

Well seems to me that either my question was not well stated, or maybe 
it was not a problem of any interest or I don't know...
Please someone reply to me (even in pvt) and say anything (stupid 
question etc.).