264 |
static const ]b4_int_type_for([b4_stos])[ stos_[]; |
static const ]b4_int_type_for([b4_stos])[ stos_[]; |
265 |
static const ]b4_int_type_for([b4_toknum])[ token_number_[]; |
static const ]b4_int_type_for([b4_toknum])[ token_number_[]; |
266 |
virtual void reduce_print_ (int yyrule); |
virtual void reduce_print_ (int yyrule); |
267 |
|
virtual void stack_print_ (); |
268 |
#endif |
#endif |
269 |
|
|
270 |
/* Even more tables. */ |
/* Even more tables. */ |
329 |
if (debug_) \ |
if (debug_) \ |
330 |
reduce_print_ (Rule); \ |
reduce_print_ (Rule); \ |
331 |
} while (0) |
} while (0) |
332 |
|
# define YY_STACK_PRINT() \ |
333 |
|
do { \ |
334 |
|
if (debug_) \ |
335 |
|
stack_print_ (); \ |
336 |
|
} while (0) |
337 |
#else /* !YYDEBUG */ |
#else /* !YYDEBUG */ |
338 |
# define YYCDEBUG if (0) cdebug_ |
# define YYCDEBUG if (0) cdebug_ |
339 |
# define YY_REDUCE_PRINT(Rule) |
# define YY_REDUCE_PRINT(Rule) |
340 |
|
# define YY_STACK_PRINT() |
341 |
#endif /* !YYDEBUG */ |
#endif /* !YYDEBUG */ |
342 |
|
|
343 |
#define YYACCEPT goto yyacceptlab |
#define YYACCEPT goto yyacceptlab |
504 |
semantic_stack_.pop (len_); |
semantic_stack_.pop (len_); |
505 |
location_stack_.pop (len_); |
location_stack_.pop (len_); |
506 |
|
|
507 |
#if YYDEBUG |
YY_STACK_PRINT (); |
|
if (debug_) |
|
|
{ |
|
|
YYCDEBUG << "state stack now"; |
|
|
for (StateStack::ConstIterator i = state_stack_.begin (); |
|
|
i != state_stack_.end (); ++i) |
|
|
YYCDEBUG << ' ' << *i; |
|
|
YYCDEBUG << std::endl; |
|
|
} |
|
|
#endif |
|
508 |
|
|
509 |
semantic_stack_.push (yyval); |
semantic_stack_.push (yyval); |
510 |
location_stack_.push (yyloc); |
location_stack_.push (yyloc); |
661 |
semantic_stack_.pop (); |
semantic_stack_.pop (); |
662 |
location_stack_.pop (); |
location_stack_.pop (); |
663 |
state_ = state_stack_[0]; |
state_ = state_stack_[0]; |
664 |
|
YY_STACK_PRINT (); |
|
#if YYDEBUG |
|
|
if (debug_) |
|
|
{ |
|
|
YYCDEBUG << "Error: state stack now"; |
|
|
for (StateStack::ConstIterator i = state_stack_.begin (); |
|
|
i != state_stack_.end (); ++i) |
|
|
YYCDEBUG << ' ' << *i; |
|
|
YYCDEBUG << std::endl; |
|
|
} |
|
|
#endif |
|
665 |
} |
} |
666 |
|
|
667 |
if (n_ == final_) |
if (n_ == final_) |
809 |
]b4_rline[ |
]b4_rline[ |
810 |
}; |
}; |
811 |
|
|
812 |
|
/** Print the state stack from its BOTTOM up to its TOP (included). */ |
813 |
|
|
814 |
|
void |
815 |
|
yy::]b4_parser_class_name[::stack_print_ () |
816 |
|
{ |
817 |
|
cdebug_ << "state stack now"; |
818 |
|
for (StateStack::ConstIterator i = state_stack_.begin (); |
819 |
|
i != state_stack_.end (); ++i) |
820 |
|
cdebug_ << ' ' << *i; |
821 |
|
cdebug_ << std::endl; |
822 |
|
} |
823 |
|
|
824 |
/** Report that the YYRULE is going to be reduced. */ |
/** Report that the YYRULE is going to be reduced. */ |
825 |
|
|
826 |
void |
void |