[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: in-memory scanning
From: |
Mark C. Smith |
Subject: |
Re: in-memory scanning |
Date: |
Tue, 5 Mar 2002 15:04:51 -0700 (MST) |
I'm using ansi standard c. The problem is that input comes
in "sporatic bursts", and I'm working on a real-time application.
Mark
On Mar 5, 2002, Hans Aberg wrote the following with Subject "Re: in-memory...:
->At 13:33 -0700 2002/03/05, Mark C. Smith wrote:
->>Greetings,
->>I'm trying to scan a string in memory that is updated regularly
->>(w/ input from an external device hooked up to the serial port).
->>yywrap is working great on keeping lex from returning prematurely,
->>but tokens that are split between strings are not recognised.
->>Lex does recognise tokens that are within a single string, though.
->>Am I missing something that I need to do? Thanks!.
->
->Which language are you using? -- If you use C++, you might write a
->std::basic_istream, and hand that over to the Flex generated lexer.
->
-> Hans Aberg
->
->
->