[yylocationp]]])[]dnl
m4_ifset([b4_parse_param], [, b4_parse_param]))[
{
- (void) yyoutput;
+ YYUSE (yyoutput);
+]b4_parse_param_use[]dnl
+[
yyparser.yysymprint_ (yytype, yyvaluep]b4_location_if([, yylocationp])[);
}
]])
b4_parse_param,
[[const char* msg], [msg]])[
{
+]b4_parse_param_use[]dnl
+[
yyparser.error (*yylocationp, msg);
}
const semantic_type* yyvaluep, const location_type* yylocationp)
{
/* Pacify ``unused variable'' warnings. */
- (void) yyvaluep;
- (void) yylocationp;
+ YYUSE (yyvaluep);
+ YYUSE (yylocationp);
/* Backward compatibility, but should be removed eventually. */
std::ostream& cdebug_ = *yycdebug_;
- (void) cdebug_;
+ YYUSE (cdebug_);
*yycdebug_ << (yytype < YYNTOKENS ? "token" : "nterm")
<< ' ' << yytname[yytype] << " ("
@output @output_header_name@
b4_copyright([C++ Skeleton parser for GLALR(1) parsing with Bison],
[2002, 2003, 2004, 2005])[
+
+/* As a special exception, when this parser skeleton is copied by
+ Bison into a Bison output file, you may use that output file
+ without restriction. This special exception was added by the Free
+ Software Foundation for C++ GLR parsers in version 2.2 of
+ Bison. */
+
+/* C++ GLR parser skeleton written by Akim Demaille. */
+
#ifndef PARSER_HEADER_H
# define PARSER_HEADER_H
{ \
(Current).begin = (Current).end = YYRHSLOC (Rhs, 0).end; \
} \
- while (/*CONSTCOND*/ 0)
+ while (0)
#endif
namespace yy