[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Resetting input from buffer
From: |
Urdaneta, Alfonso E (N-Summitt Technologies) |
Subject: |
RE: Resetting input from buffer |
Date: |
Tue, 05 Aug 2003 18:05:48 -0400 |
looks like you have a class called "Formatter" which gets called from
your lexer with a protected member ?
-----Original Message-----
From: Maansi Gupta [mailto:address@hidden
Sent: Monday, July 07, 2003 9:44 AM
To: address@hidden
Cc: address@hidden
Subject: Resetting input from buffer
Hi,
My lexer and parser are taking input from an input
buffer and not from a file. The problem is that I am
unable to reset the buffer to enable repeated
scanning.
I have tried to use
lex.yyrestart(lex.yyin);
where lex is the classname for the Lexer.
Am getting the error message
error C2248: 'yyrestart' : cannot access protected
member declared in class 'Formatter'
Kindly help on this issue
Thanks
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
_______________________________________________
address@hidden http://mail.gnu.org/mailman/listinfo/help-bison
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RE: Resetting input from buffer,
Urdaneta, Alfonso E (N-Summitt Technologies) <=