[Top][All Lists]

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

Re: New line character is not matching in flex++ scanner

From: Hans Aberg
Subject: Re: New line character is not matching in flex++ scanner
Date: Tue, 04 Jan 2005 19:28:37 +0100
User-agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6

Note that Flex++ and Bison++ are programs unrelated to Flex and Bison, and
so you should try lists dedicated to those programs. These are supposed to
be some very old programs. And Flex issues are best addressed in the
Help-flex mailing list

On 2005/01/04 06:25, Krishna Murthy Gudipati at address@hidden

> Hello Laurence,
> Greetings !!
> I have  a peculiar problem with the flex++.
> I have a set of regular expressions for flex which includes rule to
> recognise the new line character like :
> [\n]          { printf("ENDLINE"); }
> We have used the flex and bison to generate 'C' scanner and parser and it
> could recognize new characters in the input file. But due to some reentrant
> issues we moved to flex++ and bison++ and generated C++ scanner and parser.
> The problem is the flexx++ generated scanner is not recognizing the '\n'
> character at the end of the line in the input file. I am really wondering
> what is this problem is because as such there is not difference id the
> definition of regular expressions and the grammar which is defined for
> flex/binson and flex++/bison++.
> Please help me in this regard.
> Regards,
> Krishna

reply via email to

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