1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-04-02 10:50:07 +03:00

feature #1554: Generate Lex&Yacc files

This commit is contained in:
Ruben S. Montero 2013-01-23 11:42:24 +01:00
parent 84c80c8d0f
commit 4a70d4de08
4 changed files with 217 additions and 114 deletions

View File

@ -1,4 +1,4 @@
/* A Bison parser, made by GNU Bison 2.6.5. */
/* A Bison parser, made by GNU Bison 2.7. */
/* Bison implementation for Yacc-like parsers in C
@ -44,7 +44,7 @@
#define YYBISON 1
/* Bison version. */
#define YYBISON_VERSION "2.6.5"
#define YYBISON_VERSION "2.7"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
@ -70,7 +70,7 @@
#define yylloc expr_arith__lloc
/* Copy the first part of user declarations. */
/* Line 360 of yacc.c */
/* Line 371 of yacc.c */
#line 17 "expr_arith.y"
#include <iostream>
@ -125,7 +125,7 @@ extern "C"
}
/* Line 360 of yacc.c */
/* Line 371 of yacc.c */
#line 130 "expr_arith.cc"
# ifndef YY_NULL
@ -172,7 +172,7 @@ extern int expr_arith__debug;
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
{
/* Line 376 of yacc.c */
/* Line 387 of yacc.c */
#line 78 "expr_arith.y"
char * val_str;
@ -180,7 +180,7 @@ typedef union YYSTYPE
float val_float;
/* Line 376 of yacc.c */
/* Line 387 of yacc.c */
#line 185 "expr_arith.cc"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
@ -220,7 +220,7 @@ int expr_arith__parse ();
/* Copy the second part of user declarations. */
/* Line 379 of yacc.c */
/* Line 390 of yacc.c */
#line 225 "expr_arith.cc"
#ifdef short
@ -514,8 +514,8 @@ static const yytype_int8 yyrhs[] =
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const yytype_uint8 yyrline[] =
{
0, 100, 100, 101, 104, 129, 130, 131, 132, 133,
134, 135, 136
0, 100, 100, 101, 104, 136, 137, 138, 139, 140,
141, 142, 143
};
#endif
@ -697,14 +697,46 @@ while (YYID (0))
#ifndef YY_LOCATION_PRINT
# if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
# define YY_LOCATION_PRINT(File, Loc) \
do { \
fprintf (File, "%d.%d", (Loc).first_line, (Loc).first_column); \
if ((Loc).first_line < (Loc).last_line) \
fprintf (File, "-%d.%d", (Loc).last_line, (Loc).last_column - 1); \
else if ((Loc).first_column < (Loc).last_column - 1) \
fprintf (File, "-%d", (Loc).last_column - 1); \
} while (0)
/* Print *YYLOCP on YYO. Private, do not rely on its existence. */
__attribute__((__unused__))
#if (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
static unsigned
yy_location_print_ (FILE *yyo, YYLTYPE const * const yylocp)
#else
static unsigned
yy_location_print_ (yyo, yylocp)
FILE *yyo;
YYLTYPE const * const yylocp;
#endif
{
unsigned res = 0;
int end_col = 0 != yylocp->last_column ? yylocp->last_column - 1 : 0;
if (0 <= yylocp->first_line)
{
res += fprintf (yyo, "%d", yylocp->first_line);
if (0 <= yylocp->first_column)
res += fprintf (yyo, ".%d", yylocp->first_column);
}
if (0 <= yylocp->last_line)
{
if (yylocp->first_line < yylocp->last_line)
{
res += fprintf (yyo, "-%d", yylocp->last_line);
if (0 <= end_col)
res += fprintf (yyo, ".%d", end_col);
}
else if (0 <= end_col && yylocp->first_column < end_col)
res += fprintf (yyo, "-%d", end_col);
}
return res;
}
# define YY_LOCATION_PRINT(File, Loc) \
yy_location_print_ (File, &(Loc))
# else
# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
# endif
@ -784,7 +816,7 @@ yy_symbol_value_print (yyoutput, yytype, yyvaluep, yylocationp, mc, oxml, result
switch (yytype)
{
default:
break;
break;
}
}
@ -1038,7 +1070,6 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
{
YYSIZE_T yysize0 = yytnamerr (YY_NULL, yytname[yytoken]);
YYSIZE_T yysize = yysize0;
YYSIZE_T yysize1;
enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
/* Internationalized format string. */
const char *yyformat = YY_NULL;
@ -1101,11 +1132,13 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
break;
}
yyarg[yycount++] = yytname[yyx];
yysize1 = yysize + yytnamerr (YY_NULL, yytname[yyx]);
if (! (yysize <= yysize1
&& yysize1 <= YYSTACK_ALLOC_MAXIMUM))
return 2;
yysize = yysize1;
{
YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULL, yytname[yyx]);
if (! (yysize <= yysize1
&& yysize1 <= YYSTACK_ALLOC_MAXIMUM))
return 2;
yysize = yysize1;
}
}
}
}
@ -1125,10 +1158,12 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
# undef YYCASE_
}
yysize1 = yysize + yystrlen (yyformat);
if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
return 2;
yysize = yysize1;
{
YYSIZE_T yysize1 = yysize + yystrlen (yyformat);
if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
return 2;
yysize = yysize1;
}
if (*yymsg_alloc < yysize)
{
@ -1198,7 +1233,7 @@ yydestruct (yymsg, yytype, yyvaluep, yylocationp, mc, oxml, result, error_msg)
{
default:
break;
break;
}
}
@ -1252,6 +1287,11 @@ int yychar;
static YYSTYPE yyval_default;
# define YY_INITIAL_VALUE(Value) = Value
#endif
static YYLTYPE yyloc_default
# if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
= { 1, 1, 1, 1 }
# endif
;
#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
# define YY_IGNORE_MAYBE_UNINITIALIZED_END
@ -1264,11 +1304,7 @@ static YYSTYPE yyval_default;
YYSTYPE yylval YY_INITIAL_VALUE(yyval_default);
/* Location data for the lookahead symbol. */
YYLTYPE yylloc
# if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
= { 1, 1, 1, 1 }
# endif
;
YYLTYPE yylloc = yyloc_default;
/* Number of syntax errors so far. */
@ -1525,29 +1561,31 @@ yyreduce:
switch (yyn)
{
case 2:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 100 "expr_arith.y"
{ result = static_cast<int>((yyvsp[(1) - (1)].val_float));}
break;
case 3:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 101 "expr_arith.y"
{ result = 0; }
break;
case 4:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 104 "expr_arith.y"
{ float val = 0.0;
ostringstream xpath_t;
ostringstream xpath_s;
ostringstream xpath_c;
vector<string> results;
xpath_t << "/HOST/TEMPLATE/" << (yyvsp[(1) - (1)].val_str);
xpath_s << "/HOST/HOST_SHARE/" << (yyvsp[(1) - (1)].val_str);
xpath_c << "/HOST/CLUSTER_TEMPLATE/" << (yyvsp[(1) - (1)].val_str);
results = (*oxml)[xpath_t.str().c_str()];
@ -1556,6 +1594,11 @@ yyreduce:
results = (*oxml)[xpath_s.str().c_str()];
}
if (results.size() == 0)
{
results = (*oxml)[xpath_c.str().c_str()];
}
if (results.size() != 0)
{
istringstream iss(results[0]);
@ -1567,56 +1610,56 @@ yyreduce:
break;
case 5:
/* Line 1778 of yacc.c */
#line 129 "expr_arith.y"
/* Line 1792 of yacc.c */
#line 136 "expr_arith.y"
{ (yyval.val_float) = (yyvsp[(1) - (1)].val_float); }
break;
case 6:
/* Line 1778 of yacc.c */
#line 130 "expr_arith.y"
/* Line 1792 of yacc.c */
#line 137 "expr_arith.y"
{ (yyval.val_float) = static_cast<float>((yyvsp[(1) - (1)].val_int)); }
break;
case 7:
/* Line 1778 of yacc.c */
#line 131 "expr_arith.y"
/* Line 1792 of yacc.c */
#line 138 "expr_arith.y"
{ (yyval.val_float) = (yyvsp[(1) - (3)].val_float) + (yyvsp[(3) - (3)].val_float);}
break;
case 8:
/* Line 1778 of yacc.c */
#line 132 "expr_arith.y"
/* Line 1792 of yacc.c */
#line 139 "expr_arith.y"
{ (yyval.val_float) = (yyvsp[(1) - (3)].val_float) - (yyvsp[(3) - (3)].val_float);}
break;
case 9:
/* Line 1778 of yacc.c */
#line 133 "expr_arith.y"
/* Line 1792 of yacc.c */
#line 140 "expr_arith.y"
{ (yyval.val_float) = (yyvsp[(1) - (3)].val_float) * (yyvsp[(3) - (3)].val_float);}
break;
case 10:
/* Line 1778 of yacc.c */
#line 134 "expr_arith.y"
/* Line 1792 of yacc.c */
#line 141 "expr_arith.y"
{ (yyval.val_float) = (yyvsp[(1) - (3)].val_float) / (yyvsp[(3) - (3)].val_float);}
break;
case 11:
/* Line 1778 of yacc.c */
#line 135 "expr_arith.y"
/* Line 1792 of yacc.c */
#line 142 "expr_arith.y"
{ (yyval.val_float) = - (yyvsp[(2) - (2)].val_float);}
break;
case 12:
/* Line 1778 of yacc.c */
#line 136 "expr_arith.y"
/* Line 1792 of yacc.c */
#line 143 "expr_arith.y"
{ (yyval.val_float) = (yyvsp[(2) - (3)].val_float);}
break;
/* Line 1778 of yacc.c */
#line 1620 "expr_arith.cc"
/* Line 1792 of yacc.c */
#line 1663 "expr_arith.cc"
default: break;
}
/* User semantic actions sometimes alter yychar, and that requires
@ -1854,8 +1897,8 @@ yyreturn:
}
/* Line 2041 of yacc.c */
#line 139 "expr_arith.y"
/* Line 2055 of yacc.c */
#line 146 "expr_arith.y"
extern "C" void expr_arith__error(

View File

@ -1,4 +1,4 @@
/* A Bison parser, made by GNU Bison 2.6.5. */
/* A Bison parser, made by GNU Bison 2.7. */
/* Bison interface for Yacc-like parsers in C
@ -56,7 +56,7 @@ extern int expr_arith__debug;
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
{
/* Line 2042 of yacc.c */
/* Line 2058 of yacc.c */
#line 78 "expr_arith.y"
char * val_str;
@ -64,7 +64,7 @@ typedef union YYSTYPE
float val_float;
/* Line 2042 of yacc.c */
/* Line 2058 of yacc.c */
#line 69 "expr_arith.hh"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1

View File

@ -1,4 +1,4 @@
/* A Bison parser, made by GNU Bison 2.6.5. */
/* A Bison parser, made by GNU Bison 2.7. */
/* Bison implementation for Yacc-like parsers in C
@ -44,7 +44,7 @@
#define YYBISON 1
/* Bison version. */
#define YYBISON_VERSION "2.6.5"
#define YYBISON_VERSION "2.7"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
@ -70,7 +70,7 @@
#define yylloc expr_bool__lloc
/* Copy the first part of user declarations. */
/* Line 360 of yacc.c */
/* Line 371 of yacc.c */
#line 17 "expr_bool.y"
#include <iostream>
@ -130,7 +130,7 @@ void get_xml_attribute(ObjectXML * oxml, const char* attr, float& val);
void get_xml_attribute(ObjectXML * oxml, const char* attr, string& val);
/* Line 360 of yacc.c */
/* Line 371 of yacc.c */
#line 135 "expr_bool.cc"
# ifndef YY_NULL
@ -177,7 +177,7 @@ extern int expr_bool__debug;
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
{
/* Line 376 of yacc.c */
/* Line 387 of yacc.c */
#line 83 "expr_bool.y"
char * val_str;
@ -185,7 +185,7 @@ typedef union YYSTYPE
float val_float;
/* Line 376 of yacc.c */
/* Line 387 of yacc.c */
#line 190 "expr_bool.cc"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
@ -225,7 +225,7 @@ int expr_bool__parse ();
/* Copy the second part of user declarations. */
/* Line 379 of yacc.c */
/* Line 390 of yacc.c */
#line 230 "expr_bool.cc"
#ifdef short
@ -708,14 +708,46 @@ while (YYID (0))
#ifndef YY_LOCATION_PRINT
# if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
# define YY_LOCATION_PRINT(File, Loc) \
do { \
fprintf (File, "%d.%d", (Loc).first_line, (Loc).first_column); \
if ((Loc).first_line < (Loc).last_line) \
fprintf (File, "-%d.%d", (Loc).last_line, (Loc).last_column - 1); \
else if ((Loc).first_column < (Loc).last_column - 1) \
fprintf (File, "-%d", (Loc).last_column - 1); \
} while (0)
/* Print *YYLOCP on YYO. Private, do not rely on its existence. */
__attribute__((__unused__))
#if (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
static unsigned
yy_location_print_ (FILE *yyo, YYLTYPE const * const yylocp)
#else
static unsigned
yy_location_print_ (yyo, yylocp)
FILE *yyo;
YYLTYPE const * const yylocp;
#endif
{
unsigned res = 0;
int end_col = 0 != yylocp->last_column ? yylocp->last_column - 1 : 0;
if (0 <= yylocp->first_line)
{
res += fprintf (yyo, "%d", yylocp->first_line);
if (0 <= yylocp->first_column)
res += fprintf (yyo, ".%d", yylocp->first_column);
}
if (0 <= yylocp->last_line)
{
if (yylocp->first_line < yylocp->last_line)
{
res += fprintf (yyo, "-%d", yylocp->last_line);
if (0 <= end_col)
res += fprintf (yyo, ".%d", end_col);
}
else if (0 <= end_col && yylocp->first_column < end_col)
res += fprintf (yyo, "-%d", end_col);
}
return res;
}
# define YY_LOCATION_PRINT(File, Loc) \
yy_location_print_ (File, &(Loc))
# else
# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
# endif
@ -795,7 +827,7 @@ yy_symbol_value_print (yyoutput, yytype, yyvaluep, yylocationp, mc, oxml, result
switch (yytype)
{
default:
break;
break;
}
}
@ -1049,7 +1081,6 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
{
YYSIZE_T yysize0 = yytnamerr (YY_NULL, yytname[yytoken]);
YYSIZE_T yysize = yysize0;
YYSIZE_T yysize1;
enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
/* Internationalized format string. */
const char *yyformat = YY_NULL;
@ -1112,11 +1143,13 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
break;
}
yyarg[yycount++] = yytname[yyx];
yysize1 = yysize + yytnamerr (YY_NULL, yytname[yyx]);
if (! (yysize <= yysize1
&& yysize1 <= YYSTACK_ALLOC_MAXIMUM))
return 2;
yysize = yysize1;
{
YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULL, yytname[yyx]);
if (! (yysize <= yysize1
&& yysize1 <= YYSTACK_ALLOC_MAXIMUM))
return 2;
yysize = yysize1;
}
}
}
}
@ -1136,10 +1169,12 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
# undef YYCASE_
}
yysize1 = yysize + yystrlen (yyformat);
if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
return 2;
yysize = yysize1;
{
YYSIZE_T yysize1 = yysize + yystrlen (yyformat);
if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
return 2;
yysize = yysize1;
}
if (*yymsg_alloc < yysize)
{
@ -1209,7 +1244,7 @@ yydestruct (yymsg, yytype, yyvaluep, yylocationp, mc, oxml, result, error_msg)
{
default:
break;
break;
}
}
@ -1263,6 +1298,11 @@ int yychar;
static YYSTYPE yyval_default;
# define YY_INITIAL_VALUE(Value) = Value
#endif
static YYLTYPE yyloc_default
# if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
= { 1, 1, 1, 1 }
# endif
;
#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
# define YY_IGNORE_MAYBE_UNINITIALIZED_END
@ -1275,11 +1315,7 @@ static YYSTYPE yyval_default;
YYSTYPE yylval YY_INITIAL_VALUE(yyval_default);
/* Location data for the lookahead symbol. */
YYLTYPE yylloc
# if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
= { 1, 1, 1, 1 }
# endif
;
YYLTYPE yylloc = yyloc_default;
/* Number of syntax errors so far. */
@ -1536,19 +1572,19 @@ yyreduce:
switch (yyn)
{
case 2:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 103 "expr_bool.y"
{ result=(yyvsp[(1) - (1)].val_int); }
break;
case 3:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 104 "expr_bool.y"
{ result=true; }
break;
case 4:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 107 "expr_bool.y"
{ int val;
@ -1557,7 +1593,7 @@ yyreduce:
break;
case 5:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 112 "expr_bool.y"
{ int val;
@ -1566,7 +1602,7 @@ yyreduce:
break;
case 6:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 117 "expr_bool.y"
{ int val;
@ -1575,7 +1611,7 @@ yyreduce:
break;
case 7:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 122 "expr_bool.y"
{ int val;
@ -1584,7 +1620,7 @@ yyreduce:
break;
case 8:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 127 "expr_bool.y"
{ float val;
@ -1593,7 +1629,7 @@ yyreduce:
break;
case 9:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 132 "expr_bool.y"
{ float val;
@ -1602,7 +1638,7 @@ yyreduce:
break;
case 10:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 137 "expr_bool.y"
{ float val;
@ -1611,7 +1647,7 @@ yyreduce:
break;
case 11:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 142 "expr_bool.y"
{ float val;
@ -1620,7 +1656,7 @@ yyreduce:
break;
case 12:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 147 "expr_bool.y"
{ string val;
@ -1629,7 +1665,7 @@ yyreduce:
break;
case 13:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 152 "expr_bool.y"
{ string val;
@ -1638,32 +1674,32 @@ yyreduce:
break;
case 14:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 157 "expr_bool.y"
{ (yyval.val_int) = (yyvsp[(1) - (3)].val_int) && (yyvsp[(3) - (3)].val_int); }
break;
case 15:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 158 "expr_bool.y"
{ (yyval.val_int) = (yyvsp[(1) - (3)].val_int) || (yyvsp[(3) - (3)].val_int); }
break;
case 16:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 159 "expr_bool.y"
{ (yyval.val_int) = ! (yyvsp[(2) - (2)].val_int); }
break;
case 17:
/* Line 1778 of yacc.c */
/* Line 1792 of yacc.c */
#line 160 "expr_bool.y"
{ (yyval.val_int) = (yyvsp[(2) - (3)].val_int); }
break;
/* Line 1778 of yacc.c */
#line 1667 "expr_bool.cc"
/* Line 1792 of yacc.c */
#line 1703 "expr_bool.cc"
default: break;
}
/* User semantic actions sometimes alter yychar, and that requires
@ -1901,7 +1937,7 @@ yyreturn:
}
/* Line 2041 of yacc.c */
/* Line 2055 of yacc.c */
#line 163 "expr_bool.y"
@ -1957,6 +1993,14 @@ void get_xml_attribute(ObjectXML * oxml, const char* attr, int& val)
xpath_h << "/HOST/" << attr;
results = (*oxml)[xpath_h.str().c_str()];
if (results.size() == 0)
{
xpath_h.str("");
xpath_h << "/HOST/CLUSTER_TEMPLATE/" << attr;
results = (*oxml)[xpath_h.str().c_str()];
}
}
}
@ -1991,6 +2035,14 @@ void get_xml_attribute(ObjectXML * oxml, const char* attr, float& val)
xpath_h << "/HOST/" << attr;
results = (*oxml)[xpath_h.str().c_str()];
if (results.size() == 0)
{
xpath_h.str("");
xpath_h << "/HOST/CLUSTER_TEMPLATE/" << attr;
results = (*oxml)[xpath_h.str().c_str()];
}
}
}
@ -2025,6 +2077,14 @@ void get_xml_attribute(ObjectXML * oxml, const char* attr, string& val)
xpath_h << "/HOST/" << attr;
results = (*oxml)[xpath_h.str().c_str()];
if (results.size() == 0)
{
xpath_h.str("");
xpath_h << "/HOST/CLUSTER_TEMPLATE/" << attr;
results = (*oxml)[xpath_h.str().c_str()];
}
}
}

View File

@ -1,4 +1,4 @@
/* A Bison parser, made by GNU Bison 2.6.5. */
/* A Bison parser, made by GNU Bison 2.7. */
/* Bison interface for Yacc-like parsers in C
@ -56,7 +56,7 @@ extern int expr_bool__debug;
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
{
/* Line 2042 of yacc.c */
/* Line 2058 of yacc.c */
#line 83 "expr_bool.y"
char * val_str;
@ -64,7 +64,7 @@ typedef union YYSTYPE
float val_float;
/* Line 2042 of yacc.c */
/* Line 2058 of yacc.c */
#line 69 "expr_bool.hh"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1