* src/parse-gram.h, src/parse-gram.c: Regen.
+2008-11-15 Akim Demaille <demaille@gostai.com>
+
+ Regen.
+ * src/parse-gram.h, src/parse-gram.h: Regen.
+
2008-11-15 Akim Demaille <demaille@gostai.com>
Remove src/Makefile.am.
2008-11-15 Akim Demaille <demaille@gostai.com>
Remove src/Makefile.am.
Remove examples/local.mk.
examples/calc++/Makefile.am might be interesting to keep as is, since
it is an example in itself.
Remove examples/local.mk.
examples/calc++/Makefile.am might be interesting to keep as is, since
it is an example in itself.
* examples/Makefile.am: Rename as...
* examples/local.mk: this.
Adjust.
* examples/Makefile.am: Rename as...
* examples/local.mk: this.
Adjust.
Remove build-aux/Makefile.am.
Recursive Makefiles are really way too slow, let's get rid of some of
them.
Remove build-aux/Makefile.am.
Recursive Makefiles are really way too slow, let's get rid of some of
them.
* build-aux/Makefile.am: Rename as...
* build-aux/local.mk: this.
Adjust paths.
* build-aux/Makefile.am: Rename as...
* build-aux/local.mk: this.
Adjust paths.
Using template buys us nothing, and makes it uselessly complex to
construct a symbol. Besides, it could not be generalized to other
languages, while make_FOO would work in C/Java etc.
Using template buys us nothing, and makes it uselessly complex to
construct a symbol. Besides, it could not be generalized to other
languages, while make_FOO would work in C/Java etc.
* data/lalr1.cc (b4_symbol_): New.
(b4_symbol): Use it.
(b4_symbol_constructor_declaration_)
* data/lalr1.cc (b4_symbol_): New.
(b4_symbol): Use it.
(b4_symbol_constructor_declaration_)
generated files. Because of name clashes, it is good to have such a
prefix such as TOK_ that protects from names such as EOF, FILE etc.
But it clutters the grammar itself.
generated files. Because of name clashes, it is good to have such a
prefix such as TOK_ that protects from names such as EOF, FILE etc.
But it clutters the grammar itself.
* data/bison.m4 (token.prefix): Empty by default.
* data/c.m4 (b4_token_enum, b4_token_define): Use it.
* data/lalr1.cc (b4_symbol): Ditto.
* data/bison.m4 (token.prefix): Empty by default.
* data/c.m4 (b4_token_enum, b4_token_define): Use it.
* data/lalr1.cc (b4_symbol): Ditto.
symbol::token.
This is allows the user to get the type of a token return by
yylex.
symbol::token.
This is allows the user to get the type of a token return by
yylex.
* data/lalr1.cc (symbol::token): New.
(yytoknum_): Define when %define lex_symbol, independently of
%debug.
* data/lalr1.cc (symbol::token): New.
(yytoknum_): Define when %define lex_symbol, independently of
%debug.
Define make_symbol in the header.
To reach good performances these functions should be inlined (yet this is
to measure precisely). To this end they must be available to the caller.
Define make_symbol in the header.
To reach good performances these functions should be inlined (yet this is
to measure precisely). To this end they must be available to the caller.
* data/lalr1.cc (b4_symbol_constructor_definition_): Qualify
location_type with the class name.
Since will now be output in the header, declare "inline".
* data/lalr1.cc (b4_symbol_constructor_definition_): Qualify
location_type with the class name.
Since will now be output in the header, declare "inline".
The constructors are called by the make_symbol functions, which a
forthcoming patch will move elsewhere. Hence the interest of putting them
together.
The constructors are called by the make_symbol functions, which a
forthcoming patch will move elsewhere. Hence the interest of putting them
together.
The stack_symbol_type does not need to be moved, it is used only by the
parser.
The stack_symbol_type does not need to be moved, it is used only by the
parser.
* data/lalr1.cc: Move symbol_type and symbol_base_type
constructors into...
(b4_symbol_constructor_definitions): here.
* data/lalr1.cc: Move symbol_type and symbol_base_type
constructors into...
(b4_symbol_constructor_definitions): here.
Make it easier to move the definition of yytranslate_.
Forthcoming changes will make it possible to use yytranslate_
from outside the parser implementation file.
Make it easier to move the definition of yytranslate_.
Forthcoming changes will make it possible to use yytranslate_
from outside the parser implementation file.
* data/lalr1.cc (b4_yytranslate_definition): New.
Use it.
* data/lalr1.cc (b4_yytranslate_definition): New.
Use it.
goes against the stronger typing I am trying to have with the new
lex interface which return a symbol_type. So in this case, feed
yytranslate_ with a token_type.
goes against the stronger typing I am trying to have with the new
lex interface which return a symbol_type. So in this case, feed
yytranslate_ with a token_type.
* data/lalr1.cc (yytranslate_): When in %define lex-symbol,
expect a token_type.
* data/lalr1.cc (yytranslate_): When in %define lex-symbol,
expect a token_type.
The union used to compute the size of the variant used to iterate over the
type of all the symbols, with a lot of redundancy. Now iterate over the
lists of symbols having the same type-name.
The union used to compute the size of the variant used to iterate over the
type of all the symbols, with a lot of redundancy. Now iterate over the
lists of symbols having the same type-name.
* data/lalr1.cc (b4_char_sizeof_): New.
(b4_char_sizeof): Use it.
Adjust to be called with a list of numbers instead of a single
* data/lalr1.cc (b4_char_sizeof_): New.
(b4_char_sizeof): Use it.
Adjust to be called with a list of numbers instead of a single
Symbols may have several string representations, for instance if they
have an alias. What I call its "id" is a string that can be used as
an identifier. May not exist.
Symbols may have several string representations, for instance if they
have an alias. What I call its "id" is a string that can be used as
an identifier. May not exist.
Currently the symbols which have the "tag_is_id" flag set are those that
don't have an alias. Look harder for the id.
Currently the symbols which have the "tag_is_id" flag set are those that
don't have an alias. Look harder for the id.
* src/output.c (is_identifier): Move to...
* src/symtab.c (is_identifier): here.
* src/symtab.h, src/symtab.c (symbol_id_get): New.
* src/output.c (is_identifier): Move to...
* src/symtab.c (is_identifier): here.
* src/symtab.h, src/symtab.c (symbol_id_get): New.
not work well in C++ (unless the parameter also appears as an argument,
which is not acceptable), hence the use of a function instead of a
constructor.
not work well in C++ (unless the parameter also appears as an argument,
which is not acceptable), hence the use of a function instead of a
constructor.
* data/lalr1.cc (b4_symbol_constructor_declaration_)
(b4_symbol_constructor_declarations)
(b4_symbol_constructor_specialization_)
* data/lalr1.cc (b4_symbol_constructor_declaration_)
(b4_symbol_constructor_declarations)
(b4_symbol_constructor_specialization_)
-/* A Bison parser, made by GNU Bison 2.4.149-dcb5-dirty. */
+/* A Bison parser, made by GNU Bison 2.4.150-0305. */
/* Implementation for Bison's Yacc-like parsers in C
/* Implementation for Bison's Yacc-like parsers in C
#define YYBISON 1
/* Bison version. */
#define YYBISON 1
/* Bison version. */
-#define YYBISON_VERSION "2.4.149-dcb5-dirty"
+#define YYBISON_VERSION "2.4.150-0305"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
-#line 154 "../../../src/parse-gram.c"
+#line 154 "../../src/parse-gram.c"
/* Enabling traces. */
#ifndef YYDEBUG
/* Enabling traces. */
#ifndef YYDEBUG
-#line 319 "../../../src/parse-gram.c"
+#line 319 "../../src/parse-gram.c"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
-#line 344 "../../../src/parse-gram.c"
+#line 344 "../../src/parse-gram.c"
#ifdef short
# undef short
#ifdef short
# undef short
/* YYNSTATES -- Number of states. */
#define YYNSTATES 144
/* YYNSTATES -- Number of states. */
#define YYNSTATES 144
-/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
+/* YYTRANSLATE[YYX] -- Symbol number corresponding to YYX as returned
+ by yylex, with out-of-bounds checking. */
#define YYUNDEFTOK 2
#define YYMAXUTOK 312
#define YYTRANSLATE(YYX) \
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
#define YYUNDEFTOK 2
#define YYMAXUTOK 312
#define YYTRANSLATE(YYX) \
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
-/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
+/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM
+ as returned by yylex, without out-of-bounds checking. */
static const yytype_uint8 yytranslate[] =
{
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
static const yytype_uint8 yytranslate[] =
{
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
-/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
- token YYLEX-NUM. */
+/* YYTOKNUM[NUM] -- (External) token number corresponding to the
+ (internal) symbol number NUM (which must be that of a token). */
static const yytype_uint16 yytoknum[] =
{
0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
static const yytype_uint16 yytoknum[] =
{
0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
{
case 3: /* "\"string\"" */
{
case 3: /* "\"string\"" */
-/* Line 717 of yacc.c */
+/* Line 719 of yacc.c */
#line 181 "parse-gram.y"
{ fputs (quotearg_style (c_quoting_style, ((*yyvaluep).chars)), stderr); };
#line 181 "parse-gram.y"
{ fputs (quotearg_style (c_quoting_style, ((*yyvaluep).chars)), stderr); };
-/* Line 717 of yacc.c */
-#line 1050 "../../../src/parse-gram.c"
+/* Line 719 of yacc.c */
+#line 1052 "../../src/parse-gram.c"
break;
case 4: /* "\"integer\"" */
break;
case 4: /* "\"integer\"" */
-/* Line 717 of yacc.c */
+/* Line 719 of yacc.c */
#line 192 "parse-gram.y"
{ fprintf (stderr, "%d", ((*yyvaluep).integer)); };
#line 192 "parse-gram.y"
{ fprintf (stderr, "%d", ((*yyvaluep).integer)); };
-/* Line 717 of yacc.c */
-#line 1059 "../../../src/parse-gram.c"
+/* Line 719 of yacc.c */
+#line 1061 "../../src/parse-gram.c"
break;
case 44: /* "\"{...}\"" */
break;
case 44: /* "\"{...}\"" */
-/* Line 717 of yacc.c */
+/* Line 719 of yacc.c */
#line 183 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", ((*yyvaluep).code)); };
#line 183 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", ((*yyvaluep).code)); };
-/* Line 717 of yacc.c */
-#line 1068 "../../../src/parse-gram.c"
+/* Line 719 of yacc.c */
+#line 1070 "../../src/parse-gram.c"
break;
case 45: /* "\"char\"" */
break;
case 45: /* "\"char\"" */
-/* Line 717 of yacc.c */
+/* Line 719 of yacc.c */
#line 175 "parse-gram.y"
{ fputs (char_name (((*yyvaluep).character)), stderr); };
#line 175 "parse-gram.y"
{ fputs (char_name (((*yyvaluep).character)), stderr); };
-/* Line 717 of yacc.c */
-#line 1077 "../../../src/parse-gram.c"
+/* Line 719 of yacc.c */
+#line 1079 "../../src/parse-gram.c"
break;
case 46: /* "\"epilogue\"" */
break;
case 46: /* "\"epilogue\"" */
-/* Line 717 of yacc.c */
+/* Line 719 of yacc.c */
#line 183 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", ((*yyvaluep).chars)); };
#line 183 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", ((*yyvaluep).chars)); };
-/* Line 717 of yacc.c */
-#line 1086 "../../../src/parse-gram.c"
+/* Line 719 of yacc.c */
+#line 1088 "../../src/parse-gram.c"
break;
case 48: /* "\"identifier\"" */
break;
case 48: /* "\"identifier\"" */
-/* Line 717 of yacc.c */
+/* Line 719 of yacc.c */
#line 188 "parse-gram.y"
{ fputs (((*yyvaluep).uniqstr), stderr); };
#line 188 "parse-gram.y"
{ fputs (((*yyvaluep).uniqstr), stderr); };
-/* Line 717 of yacc.c */
-#line 1095 "../../../src/parse-gram.c"
+/* Line 719 of yacc.c */
+#line 1097 "../../src/parse-gram.c"
break;
case 49: /* "\"identifier:\"" */
break;
case 49: /* "\"identifier:\"" */
-/* Line 717 of yacc.c */
+/* Line 719 of yacc.c */
#line 189 "parse-gram.y"
{ fprintf (stderr, "%s:", ((*yyvaluep).uniqstr)); };
#line 189 "parse-gram.y"
{ fprintf (stderr, "%s:", ((*yyvaluep).uniqstr)); };
-/* Line 717 of yacc.c */
-#line 1104 "../../../src/parse-gram.c"
+/* Line 719 of yacc.c */
+#line 1106 "../../src/parse-gram.c"
break;
case 52: /* "\"%{...%}\"" */
break;
case 52: /* "\"%{...%}\"" */
-/* Line 717 of yacc.c */
+/* Line 719 of yacc.c */
#line 183 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", ((*yyvaluep).chars)); };
#line 183 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", ((*yyvaluep).chars)); };
-/* Line 717 of yacc.c */
-#line 1113 "../../../src/parse-gram.c"
+/* Line 719 of yacc.c */
+#line 1115 "../../src/parse-gram.c"
break;
case 54: /* "\"type\"" */
break;
case 54: /* "\"type\"" */
-/* Line 717 of yacc.c */
+/* Line 719 of yacc.c */
#line 187 "parse-gram.y"
{ fprintf (stderr, "<%s>", ((*yyvaluep).uniqstr)); };
#line 187 "parse-gram.y"
{ fprintf (stderr, "<%s>", ((*yyvaluep).uniqstr)); };
-/* Line 717 of yacc.c */
-#line 1122 "../../../src/parse-gram.c"
+/* Line 719 of yacc.c */
+#line 1124 "../../src/parse-gram.c"
break;
case 83: /* "variable" */
break;
case 83: /* "variable" */
-/* Line 717 of yacc.c */
+/* Line 719 of yacc.c */
#line 188 "parse-gram.y"
{ fputs (((*yyvaluep).uniqstr), stderr); };
#line 188 "parse-gram.y"
{ fputs (((*yyvaluep).uniqstr), stderr); };
-/* Line 717 of yacc.c */
-#line 1131 "../../../src/parse-gram.c"
+/* Line 719 of yacc.c */
+#line 1133 "../../src/parse-gram.c"
break;
case 84: /* "content.opt" */
break;
case 84: /* "content.opt" */
-/* Line 717 of yacc.c */
+/* Line 719 of yacc.c */
#line 183 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", ((*yyvaluep).chars)); };
#line 183 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", ((*yyvaluep).chars)); };
-/* Line 717 of yacc.c */
-#line 1140 "../../../src/parse-gram.c"
+/* Line 719 of yacc.c */
+#line 1142 "../../src/parse-gram.c"
break;
case 85: /* "braceless" */
break;
case 85: /* "braceless" */
-/* Line 717 of yacc.c */
+/* Line 719 of yacc.c */
#line 183 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", ((*yyvaluep).chars)); };
#line 183 "parse-gram.y"
{ fprintf (stderr, "{\n%s\n}", ((*yyvaluep).chars)); };
-/* Line 717 of yacc.c */
-#line 1149 "../../../src/parse-gram.c"
+/* Line 719 of yacc.c */
+#line 1151 "../../src/parse-gram.c"
break;
case 86: /* "id" */
break;
case 86: /* "id" */
-/* Line 717 of yacc.c */
+/* Line 719 of yacc.c */
#line 195 "parse-gram.y"
{ fprintf (stderr, "%s", ((*yyvaluep).symbol)->tag); };
#line 195 "parse-gram.y"
{ fprintf (stderr, "%s", ((*yyvaluep).symbol)->tag); };
-/* Line 717 of yacc.c */
-#line 1158 "../../../src/parse-gram.c"
+/* Line 719 of yacc.c */
+#line 1160 "../../src/parse-gram.c"
break;
case 87: /* "id_colon" */
break;
case 87: /* "id_colon" */
-/* Line 717 of yacc.c */
+/* Line 719 of yacc.c */
#line 196 "parse-gram.y"
{ fprintf (stderr, "%s:", ((*yyvaluep).symbol)->tag); };
#line 196 "parse-gram.y"
{ fprintf (stderr, "%s:", ((*yyvaluep).symbol)->tag); };
-/* Line 717 of yacc.c */
-#line 1167 "../../../src/parse-gram.c"
+/* Line 719 of yacc.c */
+#line 1169 "../../src/parse-gram.c"
break;
case 88: /* "symbol" */
break;
case 88: /* "symbol" */
-/* Line 717 of yacc.c */
+/* Line 719 of yacc.c */
#line 195 "parse-gram.y"
{ fprintf (stderr, "%s", ((*yyvaluep).symbol)->tag); };
#line 195 "parse-gram.y"
{ fprintf (stderr, "%s", ((*yyvaluep).symbol)->tag); };
-/* Line 717 of yacc.c */
-#line 1176 "../../../src/parse-gram.c"
+/* Line 719 of yacc.c */
+#line 1178 "../../src/parse-gram.c"
break;
case 89: /* "string_as_id" */
break;
case 89: /* "string_as_id" */
-/* Line 717 of yacc.c */
+/* Line 719 of yacc.c */
#line 195 "parse-gram.y"
{ fprintf (stderr, "%s", ((*yyvaluep).symbol)->tag); };
#line 195 "parse-gram.y"
{ fprintf (stderr, "%s", ((*yyvaluep).symbol)->tag); };
-/* Line 717 of yacc.c */
-#line 1185 "../../../src/parse-gram.c"
+/* Line 719 of yacc.c */
+#line 1187 "../../src/parse-gram.c"
/* User initialization code. */
/* User initialization code. */
-/* Line 1244 of yacc.c */
+/* Line 1246 of yacc.c */
#line 84 "parse-gram.y"
{
/* Bison's grammar can initial empty locations, hence a default
#line 84 "parse-gram.y"
{
/* Bison's grammar can initial empty locations, hence a default
boundary_set (&yylloc.end, current_file, 1, 1);
}
boundary_set (&yylloc.end, current_file, 1, 1);
}
-/* Line 1244 of yacc.c */
-#line 1714 "../../../src/parse-gram.c"
+/* Line 1246 of yacc.c */
+#line 1716 "../../src/parse-gram.c"
yylsp[0] = yylloc;
goto yysetstate;
yylsp[0] = yylloc;
goto yysetstate;
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 219 "parse-gram.y"
{
code_props plain_code;
#line 219 "parse-gram.y"
{
code_props plain_code;
code_scanner_last_string_free ();
}
code_scanner_last_string_free ();
}
-/* Line 1457 of yacc.c */
-#line 1914 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 1916 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 228 "parse-gram.y"
{ debug_flag = true; }
#line 228 "parse-gram.y"
{ debug_flag = true; }
-/* Line 1457 of yacc.c */
-#line 1924 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 1926 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 230 "parse-gram.y"
{
muscle_percent_define_insert ((yyvsp[(2) - (3)].uniqstr), (yylsp[(2) - (3)]), (yyvsp[(3) - (3)].chars));
}
#line 230 "parse-gram.y"
{
muscle_percent_define_insert ((yyvsp[(2) - (3)].uniqstr), (yylsp[(2) - (3)]), (yyvsp[(3) - (3)].chars));
}
-/* Line 1457 of yacc.c */
-#line 1936 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 1938 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 233 "parse-gram.y"
{ defines_flag = true; }
#line 233 "parse-gram.y"
{ defines_flag = true; }
-/* Line 1457 of yacc.c */
-#line 1946 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 1948 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 235 "parse-gram.y"
{
defines_flag = true;
spec_defines_file = xstrdup ((yyvsp[(2) - (2)].chars));
}
#line 235 "parse-gram.y"
{
defines_flag = true;
spec_defines_file = xstrdup ((yyvsp[(2) - (2)].chars));
}
-/* Line 1457 of yacc.c */
-#line 1959 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 1961 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 239 "parse-gram.y"
{ error_verbose = true; }
#line 239 "parse-gram.y"
{ error_verbose = true; }
-/* Line 1457 of yacc.c */
-#line 1969 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 1971 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 240 "parse-gram.y"
{ expected_sr_conflicts = (yyvsp[(2) - (2)].integer); }
#line 240 "parse-gram.y"
{ expected_sr_conflicts = (yyvsp[(2) - (2)].integer); }
-/* Line 1457 of yacc.c */
-#line 1979 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 1981 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 241 "parse-gram.y"
{ expected_rr_conflicts = (yyvsp[(2) - (2)].integer); }
#line 241 "parse-gram.y"
{ expected_rr_conflicts = (yyvsp[(2) - (2)].integer); }
-/* Line 1457 of yacc.c */
-#line 1989 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 1991 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 242 "parse-gram.y"
{ spec_file_prefix = (yyvsp[(2) - (2)].chars); }
#line 242 "parse-gram.y"
{ spec_file_prefix = (yyvsp[(2) - (2)].chars); }
-/* Line 1457 of yacc.c */
-#line 1999 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2001 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 243 "parse-gram.y"
{ spec_file_prefix = (yyvsp[(3) - (3)].chars); }
#line 243 "parse-gram.y"
{ spec_file_prefix = (yyvsp[(3) - (3)].chars); }
-/* Line 1457 of yacc.c */
-#line 2009 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2011 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 245 "parse-gram.y"
{
nondeterministic_parser = true;
glr_parser = true;
}
#line 245 "parse-gram.y"
{
nondeterministic_parser = true;
glr_parser = true;
}
-/* Line 1457 of yacc.c */
-#line 2022 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2024 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 250 "parse-gram.y"
{
code_props action;
#line 250 "parse-gram.y"
{
code_props action;
code_scanner_last_string_free ();
}
code_scanner_last_string_free ();
}
-/* Line 1457 of yacc.c */
-#line 2039 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2041 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 258 "parse-gram.y"
{ language_argmatch ((yyvsp[(2) - (2)].chars), grammar_prio, (yylsp[(1) - (2)])); }
#line 258 "parse-gram.y"
{ language_argmatch ((yyvsp[(2) - (2)].chars), grammar_prio, (yylsp[(1) - (2)])); }
-/* Line 1457 of yacc.c */
-#line 2049 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2051 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 259 "parse-gram.y"
{ add_param ("lex_param", (yyvsp[(2) - (2)].code), (yylsp[(2) - (2)])); }
#line 259 "parse-gram.y"
{ add_param ("lex_param", (yyvsp[(2) - (2)].code), (yylsp[(2) - (2)])); }
-/* Line 1457 of yacc.c */
-#line 2059 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2061 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 260 "parse-gram.y"
{ locations_flag = true; }
#line 260 "parse-gram.y"
{ locations_flag = true; }
-/* Line 1457 of yacc.c */
-#line 2069 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2071 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 261 "parse-gram.y"
{ spec_name_prefix = (yyvsp[(2) - (2)].chars); }
#line 261 "parse-gram.y"
{ spec_name_prefix = (yyvsp[(2) - (2)].chars); }
-/* Line 1457 of yacc.c */
-#line 2079 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2081 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 262 "parse-gram.y"
{ spec_name_prefix = (yyvsp[(3) - (3)].chars); }
#line 262 "parse-gram.y"
{ spec_name_prefix = (yyvsp[(3) - (3)].chars); }
-/* Line 1457 of yacc.c */
-#line 2089 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2091 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 263 "parse-gram.y"
{ no_lines_flag = true; }
#line 263 "parse-gram.y"
{ no_lines_flag = true; }
-/* Line 1457 of yacc.c */
-#line 2099 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2101 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 264 "parse-gram.y"
{ nondeterministic_parser = true; }
#line 264 "parse-gram.y"
{ nondeterministic_parser = true; }
-/* Line 1457 of yacc.c */
-#line 2109 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2111 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 265 "parse-gram.y"
{ spec_outfile = (yyvsp[(2) - (2)].chars); }
#line 265 "parse-gram.y"
{ spec_outfile = (yyvsp[(2) - (2)].chars); }
-/* Line 1457 of yacc.c */
-#line 2119 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2121 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 266 "parse-gram.y"
{ spec_outfile = (yyvsp[(3) - (3)].chars); }
#line 266 "parse-gram.y"
{ spec_outfile = (yyvsp[(3) - (3)].chars); }
-/* Line 1457 of yacc.c */
-#line 2129 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2131 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 267 "parse-gram.y"
{ add_param ("parse_param", (yyvsp[(2) - (2)].code), (yylsp[(2) - (2)])); }
#line 267 "parse-gram.y"
{ add_param ("parse_param", (yyvsp[(2) - (2)].code), (yylsp[(2) - (2)])); }
-/* Line 1457 of yacc.c */
-#line 2139 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2141 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 269 "parse-gram.y"
{
/* %pure-parser is deprecated in favor of `%define api.pure', so use
#line 269 "parse-gram.y"
{
/* %pure-parser is deprecated in favor of `%define api.pure', so use
muscle_percent_define_insert ("api.pure", (yylsp[(1) - (1)]), "");
}
muscle_percent_define_insert ("api.pure", (yylsp[(1) - (1)]), "");
}
-/* Line 1457 of yacc.c */
-#line 2160 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2162 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 281 "parse-gram.y"
{ version_check (&(yylsp[(2) - (2)]), (yyvsp[(2) - (2)].chars)); }
#line 281 "parse-gram.y"
{ version_check (&(yylsp[(2) - (2)]), (yyvsp[(2) - (2)].chars)); }
-/* Line 1457 of yacc.c */
-#line 2170 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2172 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 283 "parse-gram.y"
{
char const *skeleton_user = (yyvsp[(2) - (2)].chars);
#line 283 "parse-gram.y"
{
char const *skeleton_user = (yyvsp[(2) - (2)].chars);
skeleton_arg (skeleton_user, grammar_prio, (yylsp[(1) - (2)]));
}
skeleton_arg (skeleton_user, grammar_prio, (yylsp[(1) - (2)]));
}
-/* Line 1457 of yacc.c */
-#line 2202 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2204 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 306 "parse-gram.y"
{ token_table_flag = true; }
#line 306 "parse-gram.y"
{ token_table_flag = true; }
-/* Line 1457 of yacc.c */
-#line 2212 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2214 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 307 "parse-gram.y"
{ report_flag |= report_states; }
#line 307 "parse-gram.y"
{ report_flag |= report_states; }
-/* Line 1457 of yacc.c */
-#line 2222 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2224 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 308 "parse-gram.y"
{ yacc_flag = true; }
#line 308 "parse-gram.y"
{ yacc_flag = true; }
-/* Line 1457 of yacc.c */
-#line 2232 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2234 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 316 "parse-gram.y"
{
grammar_start_symbol_set ((yyvsp[(2) - (2)].symbol), (yylsp[(2) - (2)]));
}
#line 316 "parse-gram.y"
{
grammar_start_symbol_set ((yyvsp[(2) - (2)].symbol), (yylsp[(2) - (2)]));
}
-/* Line 1457 of yacc.c */
-#line 2244 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2246 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 320 "parse-gram.y"
{
symbol_list *list;
#line 320 "parse-gram.y"
{
symbol_list *list;
symbol_list_free ((yyvsp[(3) - (3)].list));
}
symbol_list_free ((yyvsp[(3) - (3)].list));
}
-/* Line 1457 of yacc.c */
-#line 2259 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2261 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 327 "parse-gram.y"
{
symbol_list *list;
#line 327 "parse-gram.y"
{
symbol_list *list;
symbol_list_free ((yyvsp[(3) - (3)].list));
}
symbol_list_free ((yyvsp[(3) - (3)].list));
}
-/* Line 1457 of yacc.c */
-#line 2274 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2276 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 334 "parse-gram.y"
{
default_prec = true;
}
#line 334 "parse-gram.y"
{
default_prec = true;
}
-/* Line 1457 of yacc.c */
-#line 2286 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2288 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 338 "parse-gram.y"
{
default_prec = false;
}
#line 338 "parse-gram.y"
{
default_prec = false;
}
-/* Line 1457 of yacc.c */
-#line 2298 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2300 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 342 "parse-gram.y"
{
/* Do not invoke muscle_percent_code_grow here since it invokes
#line 342 "parse-gram.y"
{
/* Do not invoke muscle_percent_code_grow here since it invokes
code_scanner_last_string_free ();
}
code_scanner_last_string_free ();
}
-/* Line 1457 of yacc.c */
-#line 2313 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2315 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 349 "parse-gram.y"
{
muscle_percent_code_grow ((yyvsp[(2) - (3)].uniqstr), (yylsp[(2) - (3)]), (yyvsp[(3) - (3)].chars), (yylsp[(3) - (3)]));
code_scanner_last_string_free ();
}
#line 349 "parse-gram.y"
{
muscle_percent_code_grow ((yyvsp[(2) - (3)].uniqstr), (yylsp[(2) - (3)]), (yyvsp[(3) - (3)].chars), (yylsp[(3) - (3)]));
code_scanner_last_string_free ();
}
-/* Line 1457 of yacc.c */
-#line 2326 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2328 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 363 "parse-gram.y"
{}
#line 363 "parse-gram.y"
{}
-/* Line 1457 of yacc.c */
-#line 2336 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2338 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 364 "parse-gram.y"
{ muscle_code_grow ("union_name", (yyvsp[(1) - (1)].uniqstr), (yylsp[(1) - (1)])); }
#line 364 "parse-gram.y"
{ muscle_code_grow ("union_name", (yyvsp[(1) - (1)].uniqstr), (yylsp[(1) - (1)])); }
-/* Line 1457 of yacc.c */
-#line 2346 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2348 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 369 "parse-gram.y"
{
union_seen = true;
#line 369 "parse-gram.y"
{
union_seen = true;
code_scanner_last_string_free ();
}
code_scanner_last_string_free ();
}
-/* Line 1457 of yacc.c */
-#line 2360 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2362 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 380 "parse-gram.y"
{ current_class = nterm_sym; }
#line 380 "parse-gram.y"
{ current_class = nterm_sym; }
-/* Line 1457 of yacc.c */
-#line 2370 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2372 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 381 "parse-gram.y"
{
current_class = unknown_sym;
current_type = NULL;
}
#line 381 "parse-gram.y"
{
current_class = unknown_sym;
current_type = NULL;
}
-/* Line 1457 of yacc.c */
-#line 2383 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2385 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 385 "parse-gram.y"
{ current_class = token_sym; }
#line 385 "parse-gram.y"
{ current_class = token_sym; }
-/* Line 1457 of yacc.c */
-#line 2393 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2395 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 386 "parse-gram.y"
{
current_class = unknown_sym;
current_type = NULL;
}
#line 386 "parse-gram.y"
{
current_class = unknown_sym;
current_type = NULL;
}
-/* Line 1457 of yacc.c */
-#line 2406 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2408 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 391 "parse-gram.y"
{
symbol_list *list;
#line 391 "parse-gram.y"
{
symbol_list *list;
symbol_list_free ((yyvsp[(3) - (3)].list));
}
symbol_list_free ((yyvsp[(3) - (3)].list));
}
-/* Line 1457 of yacc.c */
-#line 2422 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2424 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 402 "parse-gram.y"
{
symbol_list *list;
#line 402 "parse-gram.y"
{
symbol_list *list;
-/* Line 1457 of yacc.c */
-#line 2442 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2444 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 416 "parse-gram.y"
{ (yyval.assoc) = left_assoc; }
#line 416 "parse-gram.y"
{ (yyval.assoc) = left_assoc; }
-/* Line 1457 of yacc.c */
-#line 2452 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2454 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 417 "parse-gram.y"
{ (yyval.assoc) = right_assoc; }
#line 417 "parse-gram.y"
{ (yyval.assoc) = right_assoc; }
-/* Line 1457 of yacc.c */
-#line 2462 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2464 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 418 "parse-gram.y"
{ (yyval.assoc) = non_assoc; }
#line 418 "parse-gram.y"
{ (yyval.assoc) = non_assoc; }
-/* Line 1457 of yacc.c */
-#line 2472 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2474 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 419 "parse-gram.y"
{ (yyval.assoc) = precedence_assoc; }
#line 419 "parse-gram.y"
{ (yyval.assoc) = precedence_assoc; }
-/* Line 1457 of yacc.c */
-#line 2482 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2484 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 423 "parse-gram.y"
{ current_type = NULL; }
#line 423 "parse-gram.y"
{ current_type = NULL; }
-/* Line 1457 of yacc.c */
-#line 2492 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2494 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 424 "parse-gram.y"
{ current_type = (yyvsp[(1) - (1)].uniqstr); tag_seen = true; }
#line 424 "parse-gram.y"
{ current_type = (yyvsp[(1) - (1)].uniqstr); tag_seen = true; }
-/* Line 1457 of yacc.c */
-#line 2502 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2504 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 430 "parse-gram.y"
{ (yyval.list) = symbol_list_sym_new ((yyvsp[(1) - (1)].symbol), (yylsp[(1) - (1)])); }
#line 430 "parse-gram.y"
{ (yyval.list) = symbol_list_sym_new ((yyvsp[(1) - (1)].symbol), (yylsp[(1) - (1)])); }
-/* Line 1457 of yacc.c */
-#line 2512 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2514 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 432 "parse-gram.y"
{ (yyval.list) = symbol_list_prepend ((yyvsp[(1) - (2)].list), symbol_list_sym_new ((yyvsp[(2) - (2)].symbol), (yylsp[(2) - (2)]))); }
#line 432 "parse-gram.y"
{ (yyval.list) = symbol_list_prepend ((yyvsp[(1) - (2)].list), symbol_list_sym_new ((yyvsp[(2) - (2)].symbol), (yylsp[(2) - (2)]))); }
-/* Line 1457 of yacc.c */
-#line 2522 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2524 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 436 "parse-gram.y"
{ (yyval.symbol) = (yyvsp[(1) - (1)].symbol); }
#line 436 "parse-gram.y"
{ (yyval.symbol) = (yyvsp[(1) - (1)].symbol); }
-/* Line 1457 of yacc.c */
-#line 2532 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2534 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 437 "parse-gram.y"
{ (yyval.symbol) = (yyvsp[(1) - (2)].symbol); symbol_user_token_number_set ((yyvsp[(1) - (2)].symbol), (yyvsp[(2) - (2)].integer), (yylsp[(2) - (2)])); }
#line 437 "parse-gram.y"
{ (yyval.symbol) = (yyvsp[(1) - (2)].symbol); symbol_user_token_number_set ((yyvsp[(1) - (2)].symbol), (yyvsp[(2) - (2)].integer), (yylsp[(2) - (2)])); }
-/* Line 1457 of yacc.c */
-#line 2542 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2544 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 443 "parse-gram.y"
{ (yyval.list) = symbol_list_sym_new ((yyvsp[(1) - (1)].symbol), (yylsp[(1) - (1)])); }
#line 443 "parse-gram.y"
{ (yyval.list) = symbol_list_sym_new ((yyvsp[(1) - (1)].symbol), (yylsp[(1) - (1)])); }
-/* Line 1457 of yacc.c */
-#line 2552 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2554 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 445 "parse-gram.y"
{ (yyval.list) = symbol_list_prepend ((yyvsp[(1) - (2)].list), symbol_list_sym_new ((yyvsp[(2) - (2)].symbol), (yylsp[(2) - (2)]))); }
#line 445 "parse-gram.y"
{ (yyval.list) = symbol_list_prepend ((yyvsp[(1) - (2)].list), symbol_list_sym_new ((yyvsp[(2) - (2)].symbol), (yylsp[(2) - (2)]))); }
-/* Line 1457 of yacc.c */
-#line 2562 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2564 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 449 "parse-gram.y"
{ (yyval.list) = (yyvsp[(1) - (1)].list); }
#line 449 "parse-gram.y"
{ (yyval.list) = (yyvsp[(1) - (1)].list); }
-/* Line 1457 of yacc.c */
-#line 2572 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2574 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 450 "parse-gram.y"
{ (yyval.list) = symbol_list_prepend ((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].list)); }
#line 450 "parse-gram.y"
{ (yyval.list) = symbol_list_prepend ((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].list)); }
-/* Line 1457 of yacc.c */
-#line 2582 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2584 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 454 "parse-gram.y"
{ (yyval.list) = symbol_list_sym_new ((yyvsp[(1) - (1)].symbol), (yylsp[(1) - (1)])); }
#line 454 "parse-gram.y"
{ (yyval.list) = symbol_list_sym_new ((yyvsp[(1) - (1)].symbol), (yylsp[(1) - (1)])); }
-/* Line 1457 of yacc.c */
-#line 2592 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2594 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 455 "parse-gram.y"
{ (yyval.list) = symbol_list_type_new ((yyvsp[(1) - (1)].uniqstr), (yylsp[(1) - (1)])); }
#line 455 "parse-gram.y"
{ (yyval.list) = symbol_list_type_new ((yyvsp[(1) - (1)].uniqstr), (yylsp[(1) - (1)])); }
-/* Line 1457 of yacc.c */
-#line 2602 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2604 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 456 "parse-gram.y"
{ (yyval.list) = symbol_list_default_tagged_new ((yylsp[(1) - (1)])); }
#line 456 "parse-gram.y"
{ (yyval.list) = symbol_list_default_tagged_new ((yylsp[(1) - (1)])); }
-/* Line 1457 of yacc.c */
-#line 2612 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2614 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 457 "parse-gram.y"
{ (yyval.list) = symbol_list_default_tagless_new ((yylsp[(1) - (1)])); }
#line 457 "parse-gram.y"
{ (yyval.list) = symbol_list_default_tagless_new ((yylsp[(1) - (1)])); }
-/* Line 1457 of yacc.c */
-#line 2622 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2624 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 463 "parse-gram.y"
{
current_type = (yyvsp[(1) - (1)].uniqstr);
tag_seen = true;
}
#line 463 "parse-gram.y"
{
current_type = (yyvsp[(1) - (1)].uniqstr);
tag_seen = true;
}
-/* Line 1457 of yacc.c */
-#line 2635 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2637 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 468 "parse-gram.y"
{
symbol_class_set ((yyvsp[(1) - (1)].symbol), current_class, (yylsp[(1) - (1)]), true);
symbol_type_set ((yyvsp[(1) - (1)].symbol), current_type, (yylsp[(1) - (1)]));
}
#line 468 "parse-gram.y"
{
symbol_class_set ((yyvsp[(1) - (1)].symbol), current_class, (yylsp[(1) - (1)]), true);
symbol_type_set ((yyvsp[(1) - (1)].symbol), current_type, (yylsp[(1) - (1)]));
}
-/* Line 1457 of yacc.c */
-#line 2648 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2650 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 473 "parse-gram.y"
{
symbol_class_set ((yyvsp[(1) - (2)].symbol), current_class, (yylsp[(1) - (2)]), true);
#line 473 "parse-gram.y"
{
symbol_class_set ((yyvsp[(1) - (2)].symbol), current_class, (yylsp[(1) - (2)]), true);
symbol_user_token_number_set ((yyvsp[(1) - (2)].symbol), (yyvsp[(2) - (2)].integer), (yylsp[(2) - (2)]));
}
symbol_user_token_number_set ((yyvsp[(1) - (2)].symbol), (yyvsp[(2) - (2)].integer), (yylsp[(2) - (2)]));
}
-/* Line 1457 of yacc.c */
-#line 2662 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2664 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 479 "parse-gram.y"
{
symbol_class_set ((yyvsp[(1) - (2)].symbol), current_class, (yylsp[(1) - (2)]), true);
#line 479 "parse-gram.y"
{
symbol_class_set ((yyvsp[(1) - (2)].symbol), current_class, (yylsp[(1) - (2)]), true);
symbol_make_alias ((yyvsp[(1) - (2)].symbol), (yyvsp[(2) - (2)].symbol), (yyloc));
}
symbol_make_alias ((yyvsp[(1) - (2)].symbol), (yyvsp[(2) - (2)].symbol), (yyloc));
}
-/* Line 1457 of yacc.c */
-#line 2676 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2678 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 485 "parse-gram.y"
{
symbol_class_set ((yyvsp[(1) - (3)].symbol), current_class, (yylsp[(1) - (3)]), true);
#line 485 "parse-gram.y"
{
symbol_class_set ((yyvsp[(1) - (3)].symbol), current_class, (yylsp[(1) - (3)]), true);
symbol_make_alias ((yyvsp[(1) - (3)].symbol), (yyvsp[(3) - (3)].symbol), (yyloc));
}
symbol_make_alias ((yyvsp[(1) - (3)].symbol), (yyvsp[(3) - (3)].symbol), (yyloc));
}
-/* Line 1457 of yacc.c */
-#line 2691 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2693 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 515 "parse-gram.y"
{
yyerrok;
}
#line 515 "parse-gram.y"
{
yyerrok;
}
-/* Line 1457 of yacc.c */
-#line 2703 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2705 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 521 "parse-gram.y"
{ current_lhs = (yyvsp[(1) - (1)].symbol); current_lhs_location = (yylsp[(1) - (1)]); }
#line 521 "parse-gram.y"
{ current_lhs = (yyvsp[(1) - (1)].symbol); current_lhs_location = (yylsp[(1) - (1)]); }
-/* Line 1457 of yacc.c */
-#line 2713 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2715 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 525 "parse-gram.y"
{ grammar_current_rule_end ((yylsp[(1) - (1)])); }
#line 525 "parse-gram.y"
{ grammar_current_rule_end ((yylsp[(1) - (1)])); }
-/* Line 1457 of yacc.c */
-#line 2723 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2725 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 526 "parse-gram.y"
{ grammar_current_rule_end ((yylsp[(3) - (3)])); }
#line 526 "parse-gram.y"
{ grammar_current_rule_end ((yylsp[(3) - (3)])); }
-/* Line 1457 of yacc.c */
-#line 2733 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2735 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 532 "parse-gram.y"
{ grammar_current_rule_begin (current_lhs, current_lhs_location); }
#line 532 "parse-gram.y"
{ grammar_current_rule_begin (current_lhs, current_lhs_location); }
-/* Line 1457 of yacc.c */
-#line 2743 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2745 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 534 "parse-gram.y"
{ grammar_current_rule_symbol_append ((yyvsp[(2) - (2)].symbol), (yylsp[(2) - (2)])); }
#line 534 "parse-gram.y"
{ grammar_current_rule_symbol_append ((yyvsp[(2) - (2)].symbol), (yylsp[(2) - (2)])); }
-/* Line 1457 of yacc.c */
-#line 2753 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2755 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 536 "parse-gram.y"
{ grammar_current_rule_action_append ((yyvsp[(2) - (2)].code), (yylsp[(2) - (2)])); }
#line 536 "parse-gram.y"
{ grammar_current_rule_action_append ((yyvsp[(2) - (2)].code), (yylsp[(2) - (2)])); }
-/* Line 1457 of yacc.c */
-#line 2763 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2765 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 538 "parse-gram.y"
{ grammar_current_rule_prec_set ((yyvsp[(3) - (3)].symbol), (yylsp[(3) - (3)])); }
#line 538 "parse-gram.y"
{ grammar_current_rule_prec_set ((yyvsp[(3) - (3)].symbol), (yylsp[(3) - (3)])); }
-/* Line 1457 of yacc.c */
-#line 2773 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2775 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 540 "parse-gram.y"
{ grammar_current_rule_dprec_set ((yyvsp[(3) - (3)].integer), (yylsp[(3) - (3)])); }
#line 540 "parse-gram.y"
{ grammar_current_rule_dprec_set ((yyvsp[(3) - (3)].integer), (yylsp[(3) - (3)])); }
-/* Line 1457 of yacc.c */
-#line 2783 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2785 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 542 "parse-gram.y"
{ grammar_current_rule_merge_set ((yyvsp[(3) - (3)].uniqstr), (yylsp[(3) - (3)])); }
#line 542 "parse-gram.y"
{ grammar_current_rule_merge_set ((yyvsp[(3) - (3)].uniqstr), (yylsp[(3) - (3)])); }
-/* Line 1457 of yacc.c */
-#line 2793 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2795 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 552 "parse-gram.y"
{ (yyval.uniqstr) = uniqstr_new ((yyvsp[(1) - (1)].chars)); }
#line 552 "parse-gram.y"
{ (yyval.uniqstr) = uniqstr_new ((yyvsp[(1) - (1)].chars)); }
-/* Line 1457 of yacc.c */
-#line 2803 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2805 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 558 "parse-gram.y"
{
(yyval.chars) = "";
}
#line 558 "parse-gram.y"
{
(yyval.chars) = "";
}
-/* Line 1457 of yacc.c */
-#line 2815 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2817 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 571 "parse-gram.y"
{
code_props plain_code;
#line 571 "parse-gram.y"
{
code_props plain_code;
(yyval.chars) = plain_code.code;
}
(yyval.chars) = plain_code.code;
}
-/* Line 1457 of yacc.c */
-#line 2832 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2834 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 591 "parse-gram.y"
{ (yyval.symbol) = symbol_from_uniqstr ((yyvsp[(1) - (1)].uniqstr), (yylsp[(1) - (1)])); }
#line 591 "parse-gram.y"
{ (yyval.symbol) = symbol_from_uniqstr ((yyvsp[(1) - (1)].uniqstr), (yylsp[(1) - (1)])); }
-/* Line 1457 of yacc.c */
-#line 2842 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2844 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 593 "parse-gram.y"
{
(yyval.symbol) = symbol_get (char_name ((yyvsp[(1) - (1)].character)), (yylsp[(1) - (1)]));
#line 593 "parse-gram.y"
{
(yyval.symbol) = symbol_get (char_name ((yyvsp[(1) - (1)].character)), (yylsp[(1) - (1)]));
symbol_user_token_number_set ((yyval.symbol), (yyvsp[(1) - (1)].character), (yylsp[(1) - (1)]));
}
symbol_user_token_number_set ((yyval.symbol), (yyvsp[(1) - (1)].character), (yylsp[(1) - (1)]));
}
-/* Line 1457 of yacc.c */
-#line 2856 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2858 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 601 "parse-gram.y"
{ (yyval.symbol) = symbol_from_uniqstr ((yyvsp[(1) - (1)].uniqstr), (yylsp[(1) - (1)])); }
#line 601 "parse-gram.y"
{ (yyval.symbol) = symbol_from_uniqstr ((yyvsp[(1) - (1)].uniqstr), (yylsp[(1) - (1)])); }
-/* Line 1457 of yacc.c */
-#line 2866 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2868 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 613 "parse-gram.y"
{
(yyval.symbol) = symbol_get (quotearg_style (c_quoting_style, (yyvsp[(1) - (1)].chars)), (yylsp[(1) - (1)]));
symbol_class_set ((yyval.symbol), token_sym, (yylsp[(1) - (1)]), false);
}
#line 613 "parse-gram.y"
{
(yyval.symbol) = symbol_get (quotearg_style (c_quoting_style, (yyvsp[(1) - (1)].chars)), (yylsp[(1) - (1)]));
symbol_class_set ((yyval.symbol), token_sym, (yylsp[(1) - (1)]), false);
}
-/* Line 1457 of yacc.c */
-#line 2879 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2881 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
+/* Line 1459 of yacc.c */
#line 622 "parse-gram.y"
{
code_props plain_code;
#line 622 "parse-gram.y"
{
code_props plain_code;
code_scanner_last_string_free ();
}
code_scanner_last_string_free ();
}
-/* Line 1457 of yacc.c */
-#line 2896 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2898 "../../src/parse-gram.c"
-/* Line 1457 of yacc.c */
-#line 2902 "../../../src/parse-gram.c"
+/* Line 1459 of yacc.c */
+#line 2904 "../../src/parse-gram.c"
default: break;
}
YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
default: break;
}
YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
-/* Line 1677 of yacc.c */
+/* Line 1679 of yacc.c */
-/* A Bison parser, made by GNU Bison 2.4.149-dcb5-dirty. */
+/* A Bison parser, made by GNU Bison 2.4.150-0305. */
/* Interface for Bison's Yacc-like parsers in C
/* Interface for Bison's Yacc-like parsers in C
-/* Line 1678 of yacc.c */
+/* Line 1680 of yacc.c */
#line 92 "parse-gram.y"
symbol *symbol;
#line 92 "parse-gram.y"
symbol *symbol;
-/* Line 1678 of yacc.c */
-#line 179 "../../../src/parse-gram.h"
+/* Line 1680 of yacc.c */
+#line 179 "../../src/parse-gram.h"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */