dcsimg
How to reset a C target ANTLR parser ?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Julio_Guerra
Posted On:   Friday, June 3, 2011 07:53 AM

Hi,



Does anyone know how to reset everything to call back again the parsing function ?



The following lines are insufficient, there must be something else to do:



input_->reset(input_); // pANTLR3_INPUT_STREAM::reset

lexer_->reset(lexer_);
parser_->reset(parser_);



Thank you.

About | Sitemap | Contact