help-bison
[Top][All Lists]
Advanced

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

Resetting input from buffer


From: Maansi Gupta
Subject: Resetting input from buffer
Date: Mon, 7 Jul 2003 06:44:12 -0700 (PDT)

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




reply via email to

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