Regenerate.

This commit is contained in:
Paul Eggert
2004-03-31 00:41:30 +00:00
parent 779e7ceb93
commit 584bbcd839
3 changed files with 98 additions and 92 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# install - install a program, script, or datafile # install - install a program, script, or datafile
scriptversion=2004-01-12.10 scriptversion=2004-02-15.20
# This originates from X11R5 (mit/util/scripts/install.sh), which was # This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the # later released in X11R6 (xc/config/util/install.sh) with the
@@ -214,7 +214,7 @@ do
# Skip lots of stat calls in the usual case. # Skip lots of stat calls in the usual case.
if test ! -d "$dstdir"; then if test ! -d "$dstdir"; then
defaultIFS=' defaultIFS='
' '
IFS="${IFS-$defaultIFS}" IFS="${IFS-$defaultIFS}"
oIFS=$IFS oIFS=$IFS
@@ -228,7 +228,13 @@ do
while test $# -ne 0 ; do while test $# -ne 0 ; do
pathcomp=$pathcomp$1 pathcomp=$pathcomp$1
shift shift
test -d "$pathcomp" || $mkdirprog "$pathcomp" if test ! -d "$pathcomp"; then
$mkdirprog "$pathcomp" || lasterr=$?
# mkdir can fail with a `File exist' error in case several
# install-sh are creating the directory concurrently. This
# is OK.
test ! -d "$pathcomp" && { (exit ${lasterr-1}); exit; }
fi
pathcomp=$pathcomp/ pathcomp=$pathcomp/
done done
fi fi
@@ -284,8 +290,8 @@ do
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
|| $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
|| { || {
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
(exit 1); exit (exit 1); exit
} }
else else
: :

View File

@@ -1,7 +1,7 @@
/* A Bison parser, made by GNU Bison 1.875c. */ /* A Bison parser, made by GNU Bison 1.875c. */
/* Skeleton parser for Yacc-like parsing with Bison, /* Skeleton parser for Yacc-like parsing with Bison,
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@@ -167,7 +167,7 @@
/* Copy the first part of user declarations. */ /* Copy the first part of user declarations. */
#line 32 "../../src/parse-gram.y" #line 32 "parse-gram.y"
#include "system.h" #include "system.h"
@@ -219,7 +219,7 @@ int current_prec = 0;
#endif #endif
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#line 80 "../../src/parse-gram.y" #line 80 "parse-gram.y"
typedef union YYSTYPE { typedef union YYSTYPE {
symbol *symbol; symbol *symbol;
symbol_list *list; symbol_list *list;
@@ -229,7 +229,7 @@ typedef union YYSTYPE {
uniqstr uniqstr; uniqstr uniqstr;
} YYSTYPE; } YYSTYPE;
/* Line 191 of yacc.c. */ /* Line 191 of yacc.c. */
#line 233 "../../src/parse-gram.c" #line 233 "parse-gram.c"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1 # define YYSTYPE_IS_TRIVIAL 1
@@ -253,7 +253,7 @@ typedef struct YYLTYPE
/* Line 214 of yacc.c. */ /* Line 214 of yacc.c. */
#line 257 "../../src/parse-gram.c" #line 257 "parse-gram.c"
#if ! defined (yyoverflow) || YYERROR_VERBOSE #if ! defined (yyoverflow) || YYERROR_VERBOSE
@@ -302,7 +302,7 @@ typedef struct YYLTYPE
/* A type that is properly aligned for any stack member. */ /* A type that is properly aligned for any stack member. */
union yyalloc union yyalloc
{ {
short yyss; short int yyss;
YYSTYPE yyvs; YYSTYPE yyvs;
YYLTYPE yyls; YYLTYPE yyls;
}; };
@@ -313,7 +313,7 @@ union yyalloc
/* The size of an array large to enough to hold all stacks, each with /* The size of an array large to enough to hold all stacks, each with
N elements. */ N elements. */
# define YYSTACK_BYTES(N) \ # define YYSTACK_BYTES(N) \
((N) * (sizeof (short) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \ ((N) * (sizeof (short int) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \
+ 2 * YYSTACK_GAP_MAXIMUM) + 2 * YYSTACK_GAP_MAXIMUM)
/* Copy COUNT objects from FROM to TO. The source and destination do /* Copy COUNT objects from FROM to TO. The source and destination do
@@ -355,7 +355,7 @@ union yyalloc
#if defined (__STDC__) || defined (__cplusplus) #if defined (__STDC__) || defined (__cplusplus)
typedef signed char yysigned_char; typedef signed char yysigned_char;
#else #else
typedef short yysigned_char; typedef short int yysigned_char;
#endif #endif
/* YYFINAL -- State number of the termination state. */ /* YYFINAL -- State number of the termination state. */
@@ -457,7 +457,7 @@ static const yysigned_char yyrhs[] =
}; };
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ /* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const unsigned short yyrline[] = static const unsigned short int yyrline[] =
{ {
0, 173, 173, 181, 183, 187, 188, 189, 190, 191, 0, 173, 173, 181, 183, 187, 188, 189, 190, 191,
192, 193, 194, 195, 196, 201, 205, 206, 207, 208, 192, 193, 194, 195, 196, 201, 205, 206, 207, 208,
@@ -499,7 +499,7 @@ static const char *const yytname[] =
# ifdef YYPRINT # ifdef YYPRINT
/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
token YYLEX-NUM. */ token YYLEX-NUM. */
static const unsigned short yytoknum[] = static const unsigned short int yytoknum[] =
{ {
0, 256, 257, 258, 259, 260, 261, 262, 263, 264, 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
@@ -761,12 +761,12 @@ do { \
#if defined (__STDC__) || defined (__cplusplus) #if defined (__STDC__) || defined (__cplusplus)
static void static void
yy_stack_print (short *bottom, short *top) yy_stack_print (short int *bottom, short int *top)
#else #else
static void static void
yy_stack_print (bottom, top) yy_stack_print (bottom, top)
short *bottom; short int *bottom;
short *top; short int *top;
#endif #endif
{ {
YYFPRINTF (stderr, "Stack now"); YYFPRINTF (stderr, "Stack now");
@@ -1039,9 +1039,9 @@ YYLTYPE yylloc;
to reallocate them elsewhere. */ to reallocate them elsewhere. */
/* The state stack. */ /* The state stack. */
short yyssa[YYINITDEPTH]; short int yyssa[YYINITDEPTH];
short *yyss = yyssa; short int *yyss = yyssa;
register short *yyssp; register short int *yyssp;
/* The semantic value stack. */ /* The semantic value stack. */
YYSTYPE yyvsa[YYINITDEPTH]; YYSTYPE yyvsa[YYINITDEPTH];
@@ -1084,7 +1084,7 @@ YYLTYPE yylloc;
yylsp = yyls; yylsp = yyls;
/* User initialization code. */ /* User initialization code. */
#line 70 "../../src/parse-gram.y" #line 70 "parse-gram.y"
{ {
/* Bison's grammar can initial empty locations, hence a default /* Bison's grammar can initial empty locations, hence a default
location is needed. */ location is needed. */
@@ -1093,7 +1093,7 @@ YYLTYPE yylloc;
(*yylsp).start.column = (*yylsp).end.column = 0; (*yylsp).start.column = (*yylsp).end.column = 0;
} }
/* Line 818 of yacc.c. */ /* Line 818 of yacc.c. */
#line 1097 "../../src/parse-gram.c" #line 1097 "parse-gram.c"
goto yysetstate; goto yysetstate;
/*------------------------------------------------------------. /*------------------------------------------------------------.
@@ -1119,7 +1119,7 @@ YYLTYPE yylloc;
these so that the &'s don't force the real ones into these so that the &'s don't force the real ones into
memory. */ memory. */
YYSTYPE *yyvs1 = yyvs; YYSTYPE *yyvs1 = yyvs;
short *yyss1 = yyss; short int *yyss1 = yyss;
YYLTYPE *yyls1 = yyls; YYLTYPE *yyls1 = yyls;
/* Each stack pointer address is followed by the size of the /* Each stack pointer address is followed by the size of the
@@ -1147,7 +1147,7 @@ YYLTYPE yylloc;
yystacksize = YYMAXDEPTH; yystacksize = YYMAXDEPTH;
{ {
short *yyss1 = yyss; short int *yyss1 = yyss;
union yyalloc *yyptr = union yyalloc *yyptr =
(union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
if (! yyptr) if (! yyptr)
@@ -1281,47 +1281,47 @@ yyreduce:
switch (yyn) switch (yyn)
{ {
case 6: case 6:
#line 188 "../../src/parse-gram.y" #line 188 "parse-gram.y"
{ prologue_augment (yyvsp[0].chars, yylsp[0]); } { prologue_augment (yyvsp[0].chars, yylsp[0]); }
break; break;
case 7: case 7:
#line 189 "../../src/parse-gram.y" #line 189 "parse-gram.y"
{ debug_flag = true; } { debug_flag = true; }
break; break;
case 8: case 8:
#line 190 "../../src/parse-gram.y" #line 190 "parse-gram.y"
{ muscle_insert (yyvsp[-1].chars, yyvsp[0].chars); } { muscle_insert (yyvsp[-1].chars, yyvsp[0].chars); }
break; break;
case 9: case 9:
#line 191 "../../src/parse-gram.y" #line 191 "parse-gram.y"
{ defines_flag = true; } { defines_flag = true; }
break; break;
case 10: case 10:
#line 192 "../../src/parse-gram.y" #line 192 "parse-gram.y"
{ error_verbose = true; } { error_verbose = true; }
break; break;
case 11: case 11:
#line 193 "../../src/parse-gram.y" #line 193 "parse-gram.y"
{ expected_sr_conflicts = yyvsp[0].integer; } { expected_sr_conflicts = yyvsp[0].integer; }
break; break;
case 12: case 12:
#line 194 "../../src/parse-gram.y" #line 194 "parse-gram.y"
{ expected_rr_conflicts = yyvsp[0].integer; } { expected_rr_conflicts = yyvsp[0].integer; }
break; break;
case 13: case 13:
#line 195 "../../src/parse-gram.y" #line 195 "parse-gram.y"
{ spec_file_prefix = yyvsp[0].chars; } { spec_file_prefix = yyvsp[0].chars; }
break; break;
case 14: case 14:
#line 197 "../../src/parse-gram.y" #line 197 "parse-gram.y"
{ {
nondeterministic_parser = true; nondeterministic_parser = true;
glr_parser = true; glr_parser = true;
@@ -1329,81 +1329,81 @@ yyreduce:
break; break;
case 15: case 15:
#line 202 "../../src/parse-gram.y" #line 202 "parse-gram.y"
{ {
muscle_code_grow ("initial_action", yyvsp[0].chars, yylsp[0]); muscle_code_grow ("initial_action", yyvsp[0].chars, yylsp[0]);
} }
break; break;
case 16: case 16:
#line 205 "../../src/parse-gram.y" #line 205 "parse-gram.y"
{ add_param ("lex_param", yyvsp[0].chars, yylsp[0]); } { add_param ("lex_param", yyvsp[0].chars, yylsp[0]); }
break; break;
case 17: case 17:
#line 206 "../../src/parse-gram.y" #line 206 "parse-gram.y"
{ locations_flag = true; } { locations_flag = true; }
break; break;
case 18: case 18:
#line 207 "../../src/parse-gram.y" #line 207 "parse-gram.y"
{ spec_name_prefix = yyvsp[0].chars; } { spec_name_prefix = yyvsp[0].chars; }
break; break;
case 19: case 19:
#line 208 "../../src/parse-gram.y" #line 208 "parse-gram.y"
{ no_lines_flag = true; } { no_lines_flag = true; }
break; break;
case 20: case 20:
#line 209 "../../src/parse-gram.y" #line 209 "parse-gram.y"
{ nondeterministic_parser = true; } { nondeterministic_parser = true; }
break; break;
case 21: case 21:
#line 210 "../../src/parse-gram.y" #line 210 "parse-gram.y"
{ spec_outfile = yyvsp[0].chars; } { spec_outfile = yyvsp[0].chars; }
break; break;
case 22: case 22:
#line 211 "../../src/parse-gram.y" #line 211 "parse-gram.y"
{ add_param ("parse_param", yyvsp[0].chars, yylsp[0]); } { add_param ("parse_param", yyvsp[0].chars, yylsp[0]); }
break; break;
case 23: case 23:
#line 212 "../../src/parse-gram.y" #line 212 "parse-gram.y"
{ pure_parser = true; } { pure_parser = true; }
break; break;
case 24: case 24:
#line 213 "../../src/parse-gram.y" #line 213 "parse-gram.y"
{ skeleton = yyvsp[0].chars; } { skeleton = yyvsp[0].chars; }
break; break;
case 25: case 25:
#line 214 "../../src/parse-gram.y" #line 214 "parse-gram.y"
{ token_table_flag = true; } { token_table_flag = true; }
break; break;
case 26: case 26:
#line 215 "../../src/parse-gram.y" #line 215 "parse-gram.y"
{ report_flag = report_states; } { report_flag = report_states; }
break; break;
case 27: case 27:
#line 216 "../../src/parse-gram.y" #line 216 "parse-gram.y"
{ yacc_flag = true; } { yacc_flag = true; }
break; break;
case 31: case 31:
#line 224 "../../src/parse-gram.y" #line 224 "parse-gram.y"
{ {
grammar_start_symbol_set (yyvsp[0].symbol, yylsp[0]); grammar_start_symbol_set (yyvsp[0].symbol, yylsp[0]);
} }
break; break;
case 32: case 32:
#line 228 "../../src/parse-gram.y" #line 228 "parse-gram.y"
{ {
typed = true; typed = true;
MUSCLE_INSERT_INT ("stype_line", yylsp[0].start.line); MUSCLE_INSERT_INT ("stype_line", yylsp[0].start.line);
@@ -1412,7 +1412,7 @@ yyreduce:
break; break;
case 33: case 33:
#line 234 "../../src/parse-gram.y" #line 234 "parse-gram.y"
{ {
symbol_list *list; symbol_list *list;
for (list = yyvsp[0].list; list; list = list->next) for (list = yyvsp[0].list; list; list = list->next)
@@ -1422,7 +1422,7 @@ yyreduce:
break; break;
case 34: case 34:
#line 241 "../../src/parse-gram.y" #line 241 "parse-gram.y"
{ {
symbol_list *list; symbol_list *list;
for (list = yyvsp[0].list; list; list = list->next) for (list = yyvsp[0].list; list; list = list->next)
@@ -1432,26 +1432,26 @@ yyreduce:
break; break;
case 35: case 35:
#line 248 "../../src/parse-gram.y" #line 248 "parse-gram.y"
{ {
default_prec = true; default_prec = true;
} }
break; break;
case 36: case 36:
#line 252 "../../src/parse-gram.y" #line 252 "parse-gram.y"
{ {
default_prec = false; default_prec = false;
} }
break; break;
case 37: case 37:
#line 258 "../../src/parse-gram.y" #line 258 "parse-gram.y"
{ current_class = nterm_sym; } { current_class = nterm_sym; }
break; break;
case 38: case 38:
#line 259 "../../src/parse-gram.y" #line 259 "parse-gram.y"
{ {
current_class = unknown_sym; current_class = unknown_sym;
current_type = NULL; current_type = NULL;
@@ -1459,12 +1459,12 @@ yyreduce:
break; break;
case 39: case 39:
#line 263 "../../src/parse-gram.y" #line 263 "parse-gram.y"
{ current_class = token_sym; } { current_class = token_sym; }
break; break;
case 40: case 40:
#line 264 "../../src/parse-gram.y" #line 264 "parse-gram.y"
{ {
current_class = unknown_sym; current_class = unknown_sym;
current_type = NULL; current_type = NULL;
@@ -1472,7 +1472,7 @@ yyreduce:
break; break;
case 41: case 41:
#line 269 "../../src/parse-gram.y" #line 269 "parse-gram.y"
{ {
symbol_list *list; symbol_list *list;
for (list = yyvsp[0].list; list; list = list->next) for (list = yyvsp[0].list; list; list = list->next)
@@ -1482,7 +1482,7 @@ yyreduce:
break; break;
case 42: case 42:
#line 279 "../../src/parse-gram.y" #line 279 "parse-gram.y"
{ {
symbol_list *list; symbol_list *list;
++current_prec; ++current_prec;
@@ -1497,49 +1497,49 @@ yyreduce:
break; break;
case 43: case 43:
#line 293 "../../src/parse-gram.y" #line 293 "parse-gram.y"
{ yyval.assoc = left_assoc; } { yyval.assoc = left_assoc; }
break; break;
case 44: case 44:
#line 294 "../../src/parse-gram.y" #line 294 "parse-gram.y"
{ yyval.assoc = right_assoc; } { yyval.assoc = right_assoc; }
break; break;
case 45: case 45:
#line 295 "../../src/parse-gram.y" #line 295 "parse-gram.y"
{ yyval.assoc = non_assoc; } { yyval.assoc = non_assoc; }
break; break;
case 46: case 46:
#line 299 "../../src/parse-gram.y" #line 299 "parse-gram.y"
{ current_type = NULL; } { current_type = NULL; }
break; break;
case 47: case 47:
#line 300 "../../src/parse-gram.y" #line 300 "parse-gram.y"
{ current_type = yyvsp[0].uniqstr; } { current_type = yyvsp[0].uniqstr; }
break; break;
case 48: case 48:
#line 306 "../../src/parse-gram.y" #line 306 "parse-gram.y"
{ yyval.list = symbol_list_new (yyvsp[0].symbol, yylsp[0]); } { yyval.list = symbol_list_new (yyvsp[0].symbol, yylsp[0]); }
break; break;
case 49: case 49:
#line 307 "../../src/parse-gram.y" #line 307 "parse-gram.y"
{ yyval.list = symbol_list_prepend (yyvsp[-1].list, yyvsp[0].symbol, yylsp[0]); } { yyval.list = symbol_list_prepend (yyvsp[-1].list, yyvsp[0].symbol, yylsp[0]); }
break; break;
case 50: case 50:
#line 313 "../../src/parse-gram.y" #line 313 "parse-gram.y"
{ {
current_type = yyvsp[0].uniqstr; current_type = yyvsp[0].uniqstr;
} }
break; break;
case 51: case 51:
#line 317 "../../src/parse-gram.y" #line 317 "parse-gram.y"
{ {
symbol_class_set (yyvsp[0].symbol, current_class, yylsp[0]); symbol_class_set (yyvsp[0].symbol, current_class, yylsp[0]);
symbol_type_set (yyvsp[0].symbol, current_type, yylsp[0]); symbol_type_set (yyvsp[0].symbol, current_type, yylsp[0]);
@@ -1547,7 +1547,7 @@ yyreduce:
break; break;
case 52: case 52:
#line 322 "../../src/parse-gram.y" #line 322 "parse-gram.y"
{ {
symbol_class_set (yyvsp[-1].symbol, current_class, yylsp[-1]); symbol_class_set (yyvsp[-1].symbol, current_class, yylsp[-1]);
symbol_type_set (yyvsp[-1].symbol, current_type, yylsp[-1]); symbol_type_set (yyvsp[-1].symbol, current_type, yylsp[-1]);
@@ -1556,7 +1556,7 @@ yyreduce:
break; break;
case 53: case 53:
#line 328 "../../src/parse-gram.y" #line 328 "parse-gram.y"
{ {
symbol_class_set (yyvsp[-1].symbol, current_class, yylsp[-1]); symbol_class_set (yyvsp[-1].symbol, current_class, yylsp[-1]);
symbol_type_set (yyvsp[-1].symbol, current_type, yylsp[-1]); symbol_type_set (yyvsp[-1].symbol, current_type, yylsp[-1]);
@@ -1565,7 +1565,7 @@ yyreduce:
break; break;
case 54: case 54:
#line 334 "../../src/parse-gram.y" #line 334 "parse-gram.y"
{ {
symbol_class_set (yyvsp[-2].symbol, current_class, yylsp[-2]); symbol_class_set (yyvsp[-2].symbol, current_class, yylsp[-2]);
symbol_type_set (yyvsp[-2].symbol, current_type, yylsp[-2]); symbol_type_set (yyvsp[-2].symbol, current_type, yylsp[-2]);
@@ -1575,7 +1575,7 @@ yyreduce:
break; break;
case 60: case 60:
#line 363 "../../src/parse-gram.y" #line 363 "parse-gram.y"
{ {
if (yacc_flag) if (yacc_flag)
complain_at (yyloc, _("POSIX forbids declarations in the grammar")); complain_at (yyloc, _("POSIX forbids declarations in the grammar"));
@@ -1583,74 +1583,74 @@ yyreduce:
break; break;
case 61: case 61:
#line 368 "../../src/parse-gram.y" #line 368 "parse-gram.y"
{ {
yyerrok; yyerrok;
} }
break; break;
case 62: case 62:
#line 374 "../../src/parse-gram.y" #line 374 "parse-gram.y"
{ current_lhs = yyvsp[0].symbol; current_lhs_location = yylsp[0]; } { current_lhs = yyvsp[0].symbol; current_lhs_location = yylsp[0]; }
break; break;
case 64: case 64:
#line 378 "../../src/parse-gram.y" #line 378 "parse-gram.y"
{ grammar_rule_end (yylsp[0]); } { grammar_rule_end (yylsp[0]); }
break; break;
case 65: case 65:
#line 379 "../../src/parse-gram.y" #line 379 "parse-gram.y"
{ grammar_rule_end (yylsp[0]); } { grammar_rule_end (yylsp[0]); }
break; break;
case 67: case 67:
#line 385 "../../src/parse-gram.y" #line 385 "parse-gram.y"
{ grammar_rule_begin (current_lhs, current_lhs_location); } { grammar_rule_begin (current_lhs, current_lhs_location); }
break; break;
case 68: case 68:
#line 387 "../../src/parse-gram.y" #line 387 "parse-gram.y"
{ grammar_current_rule_symbol_append (yyvsp[0].symbol, yylsp[0]); } { grammar_current_rule_symbol_append (yyvsp[0].symbol, yylsp[0]); }
break; break;
case 69: case 69:
#line 389 "../../src/parse-gram.y" #line 389 "parse-gram.y"
{ grammar_current_rule_action_append (yyvsp[0].chars, yylsp[0]); } { grammar_current_rule_action_append (yyvsp[0].chars, yylsp[0]); }
break; break;
case 70: case 70:
#line 391 "../../src/parse-gram.y" #line 391 "parse-gram.y"
{ grammar_current_rule_prec_set (yyvsp[0].symbol, yylsp[0]); } { grammar_current_rule_prec_set (yyvsp[0].symbol, yylsp[0]); }
break; break;
case 71: case 71:
#line 393 "../../src/parse-gram.y" #line 393 "parse-gram.y"
{ grammar_current_rule_dprec_set (yyvsp[0].integer, yylsp[0]); } { grammar_current_rule_dprec_set (yyvsp[0].integer, yylsp[0]); }
break; break;
case 72: case 72:
#line 395 "../../src/parse-gram.y" #line 395 "parse-gram.y"
{ grammar_current_rule_merge_set (yyvsp[0].uniqstr, yylsp[0]); } { grammar_current_rule_merge_set (yyvsp[0].uniqstr, yylsp[0]); }
break; break;
case 73: case 73:
#line 399 "../../src/parse-gram.y" #line 399 "parse-gram.y"
{ yyval.symbol = yyvsp[0].symbol; } { yyval.symbol = yyvsp[0].symbol; }
break; break;
case 74: case 74:
#line 400 "../../src/parse-gram.y" #line 400 "parse-gram.y"
{ yyval.symbol = yyvsp[0].symbol; } { yyval.symbol = yyvsp[0].symbol; }
break; break;
case 75: case 75:
#line 405 "../../src/parse-gram.y" #line 405 "parse-gram.y"
{ yyval.chars = yyvsp[0].chars; } { yyval.chars = yyvsp[0].chars; }
break; break;
case 76: case 76:
#line 411 "../../src/parse-gram.y" #line 411 "parse-gram.y"
{ {
yyval.symbol = symbol_get (yyvsp[0].chars, yylsp[0]); yyval.symbol = symbol_get (yyvsp[0].chars, yylsp[0]);
symbol_class_set (yyval.symbol, token_sym, yylsp[0]); symbol_class_set (yyval.symbol, token_sym, yylsp[0]);
@@ -1658,7 +1658,7 @@ yyreduce:
break; break;
case 77: case 77:
#line 420 "../../src/parse-gram.y" #line 420 "parse-gram.y"
{ {
yyval.chars = yyvsp[0].chars + 1; yyval.chars = yyvsp[0].chars + 1;
yyval.chars[strlen (yyval.chars) - 1] = '\0'; yyval.chars[strlen (yyval.chars) - 1] = '\0';
@@ -1666,7 +1666,7 @@ yyreduce:
break; break;
case 79: case 79:
#line 429 "../../src/parse-gram.y" #line 429 "parse-gram.y"
{ {
muscle_code_grow ("epilogue", yyvsp[0].chars, yylsp[0]); muscle_code_grow ("epilogue", yyvsp[0].chars, yylsp[0]);
scanner_last_string_free (); scanner_last_string_free ();
@@ -1677,7 +1677,7 @@ yyreduce:
} }
/* Line 1010 of yacc.c. */ /* Line 1010 of yacc.c. */
#line 1681 "../../src/parse-gram.c" #line 1681 "parse-gram.c"
yyvsp -= yylen; yyvsp -= yylen;
yyssp -= yylen; yyssp -= yylen;
@@ -1906,7 +1906,7 @@ yyreturn:
} }
#line 435 "../../src/parse-gram.y" #line 435 "parse-gram.y"

View File

@@ -1,7 +1,7 @@
/* A Bison parser, made by GNU Bison 1.875c. */ /* A Bison parser, made by GNU Bison 1.875c. */
/* Skeleton parser for Yacc-like parsing with Bison, /* Skeleton parser for Yacc-like parsing with Bison,
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@@ -134,7 +134,7 @@
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#line 80 "../../src/parse-gram.y" #line 80 "parse-gram.y"
typedef union YYSTYPE { typedef union YYSTYPE {
symbol *symbol; symbol *symbol;
symbol_list *list; symbol_list *list;