help-flex
[Top][All Lists]
Advanced

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

Re: in-memory scanning


From: Hans Aberg
Subject: Re: in-memory scanning
Date: Tue, 5 Mar 2002 22:36:01 +0100

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





reply via email to

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