help-flex
[Top][All Lists]
Advanced

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

RE: New line character is not matched in flex++ scanner


From: Krishna Murthy Gudipati
Subject: RE: New line character is not matched in flex++ scanner
Date: Thu, 06 Jan 2005 10:16:29 +0530

Hi,

I got an empty email from your id (black_dragon).

"address@hidden; on behalf of;
address@hidden"

I don't know if mails are bouncing back from my mail id.

Regards,
Krishna

-----Original Message-----
From: Krishna Murthy Gudipati [mailto:address@hidden
Sent: Wednesday, January 05, 2005 10:40 AM
To: address@hidden
Subject: New line character is not matched in flex++ scanner


Hello Friends,

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"); }

Initially we have used the flex to generate 'C' scanner and the scanner
could recognize the new line characters in the input file. But due to some
reentrant issues we moved to flex++ and generated C++ scanner. 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. As such there is no difference in the definition of regular
expressions which are defined for flex and flex++.

Please help me in this regard.

Regards,
Krishna






reply via email to

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