void move (by_state& that);
/// The (internal) type number (corresponding to \a state).
- /// "empty" when empty.
+ /// \a empty when empty.
symbol_number_type type_get () const;
+ /// The state number used to denote an empty symbol.
enum { empty = 0 };
/// The state.
+ /// \a empty when empty.
state_type state;
};
/// Pop \a n symbols the three stacks.
void yypop_ (unsigned int n = 1);
- // Constants.
+ /// Constants.
enum
{
yyeof_ = 0,
int
]b4_parser_class_name[::parse ()
{
- /// Whether yyla contains a lookahead.
- bool yyempty = true;
-
// State.
int yyn;
/// Length of the RHS of the rule being reduced.
int yynerrs_ = 0;
int yyerrstatus_ = 0;
+ /// Whether yyla contains a lookahead.
+ bool yyempty = true;
+
/// The lookahead symbol.
symbol_type yyla;]b4_locations_if([[
b4_error_verbose_if([state_type yystate, symbol_number_type yytoken],
[state_type, symbol_number_type])[) const
{]b4_error_verbose_if([[
- std::string yyres;
// Number of reported tokens (one for the "unexpected", one per
// "expected").
size_t yycount = 0;
#undef YYCASE_
}
+ std::string yyres;
// Argument number.
size_t yyi = 0;
for (char const* yyp = yyformat; *yyp; ++yyp)