help-flex
[Top][All Lists]
Advanced

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

Re: Clarification Regarding Porting Flex and Bison to RTOS


From: John W. Millaway
Subject: Re: Clarification Regarding Porting Flex and Bison to RTOS
Date: Wed, 25 Apr 2001 09:14:37 -0700 (PDT)

>    I am trying to port both Flex and Bison to a Real Time OS. I don't have
> the device options like the file which the Flex expects as input. In the
> place of the file i have a character pointer. How should I proceed with
> the parsing ? 

Avai,

Flex has the ability to scan from (char*) buffers instead of from (FILE*) 
streams.
See the flex documentation, for "yy_scan_buffer", under the heading "MULTIPLE 
INPUT
BUFFERS".

-John


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



reply via email to

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