help-bison
[Top][All Lists]
Advanced

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

Trouble with yytext


From: ROLAND
Subject: Trouble with yytext
Date: Thu, 6 Dec 2001 01:36:11 -0800 (PST)

Hello,

I am using FLEX and BISON to parse input given by the
user.
The input-line is picked up by FLEX correctly, since
it gives som printf-statements of yytext.
When yytext is processed by BISON on the other hand,
yytext appears to be an empty string.
Can someone tell me if there is something wrong in my
code?
I am sure that BISON does not reset yytext (at least
not in my code, perhaps BISON does it on it's own?).
The strangest thing in all of this is that the program
used to run with YACC and LEX, and was then working
correctly.
If there is anybody out there who can give me some
answers, I'd be very thankful!

Roland


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com



reply via email to

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