3 /* A Bison parser, made from %%filename
4 by GNU bison %%version. */
6 /* Skeleton output parser for bison,
7 Copyright 1984, 1989, 1990, 2000, 2001 Free Software Foundation, Inc.
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place - Suite 330,
22 Boston, MA 02111-1307, USA. */
24 /* As a special exception, when this file is copied by Bison into a
25 Bison output file, you may use that output file without restriction.
26 This special exception was added by the Free Software Foundation
27 in version 1.24 of Bison. */
29 /* This is the parser code that is written into each bison parser when
30 the %semantic_parser declaration is not specified in the grammar.
31 It was written by Richard Stallman by simplifying the hairy parser
32 used when %semantic_parser is specified. */
34 /* Identify Bison output. */
40 /* Using locations. */
41 #define YYLSP_NEEDED %%locations-flag
43 /* Enabling traces. */
45 # define YYDEBUG %%debug
48 /* Enabling verbose error messages. */
49 #ifdef YYERROR_VERBOSE
50 # undef YYERROR_VERBOSE
51 # define YYERROR_VERBOSE 1
53 # define YYERROR_VERBOSE %%error-verbose
56 /* If name_prefix is specify substitute the variables and functions
58 #define yyparse %%prefix##parse
59 #define yylex %%prefix##lex
60 #define yyerror %%prefix##error
61 #define yylval %%prefix##lval
62 #define yychar %%prefix##char
63 #define yydebug %%prefix##debug
64 #define yynerrs %%prefix##nerrs
67 typedef %%stype yystype;
68 # define YYSTYPE yystype
72 typedef struct yyltype
79 # define YYLTYPE %%ltype
82 /* Copy the user declarations. */
85 /* Line 85 of bison.simple. */
86 #line %%line "%%parser-file-name"
90 /* All symbols defined below should begin with yy or YY, to avoid
91 infringing on user name space. This should be done even for local
92 variables, as they might otherwise be expanded by user macros.
93 There are some unavoidable exceptions within include files to
94 define necessary library symbols; they are noted "INFRINGES ON
95 USER NAME SPACE" below. */
97 #if ! defined (yyoverflow) || YYERROR_VERBOSE
99 /* The parser invokes alloca or malloc; define the necessary symbols. */
101 # if YYSTACK_USE_ALLOCA
102 # define YYSTACK_ALLOC alloca
103 # define YYSIZE_T size_t
105 # ifndef YYSTACK_USE_ALLOCA
106 # if defined (alloca) || defined (_ALLOCA_H)
107 # define YYSTACK_ALLOC alloca
108 # define YYSIZE_T size_t
110 # if defined (__GNUC__) || defined (_AIX) || defined (__hpux)
111 # define YYSTACK_ALLOC __builtin_alloca
117 # if defined (__sgi) || defined (__sparc__) || defined (__sparc) || defined (__sun)
118 # include <alloca.h> /* INFRINGES ON USER NAME SPACE */
119 # define YYSTACK_ALLOC alloca
120 # define YYSIZE_T size_t
127 # ifdef YYSTACK_ALLOC
128 /* Pacify GCC's `empty if-body' warning. */
129 # define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
132 # include <cstdlib> /* INFRINGES ON USER NAME SPACE */
133 # define YYSIZE_T std::size_t
134 # define YYSTACK_ALLOC std::malloc
135 # define YYSTACK_FREE std::free
138 # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
139 # define YYSIZE_T size_t
141 # define YYSTACK_ALLOC malloc
142 # define YYSTACK_FREE free
146 /* A type that is properly aligned for any stack member. */
156 /* The size of the maximum gap between one aligned stack and the next. */
157 # define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1)
159 /* The size of an array large to enough to hold all stacks, each with
162 # define YYSTACK_BYTES(N) \
163 ((N) * (sizeof (short) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \
164 + 2 * YYSTACK_GAP_MAX)
166 # define YYSTACK_BYTES(N) \
167 ((N) * (sizeof (short) + sizeof (YYSTYPE)) \
171 /* Relocate the TYPE STACK from its old location to the new one. The
172 local variables YYSIZE and YYSTACKSIZE give the old and new number of
173 elements in the stack, and YYPTR gives the new location of the
174 stack. Advance YYPTR to a properly aligned location for the next
176 # define YYSTACK_RELOCATE(Type, Stack) \
179 YYSIZE_T yynewbytes; \
180 yymemcpy ((char *) yyptr, (char *) (Stack), \
181 yysize * (YYSIZE_T) sizeof (Type)); \
182 Stack = &yyptr->Stack; \
183 yynewbytes = yystacksize * sizeof (Type) + YYSTACK_GAP_MAX; \
184 yyptr += yynewbytes / sizeof (*yyptr); \
188 #endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */
193 #define YYFINAL %%final
194 #define YYFLAG %%flag
195 #define YYNTBASE %%ntbase
196 #define YYLAST %%last
198 #define YYNTOKENS %%ntokens
199 #define YYNNTS %%nnts
200 #define YYNRULES %%nrules
201 #define YYNSTATES %%nstates
202 #define YYMAXUTOK %%maxtok
204 /* YYTRANSLATE(YYLEX) -- Bison token number corresponding to YYLEX. */
205 #define YYTRANSLATE(x) ((unsigned)(x) <= %%maxtok ? yytranslate[x] : %%nsym)
207 /* YYTRANSLATE[YYLEX] -- Bison token number corresponding to YYLEX. */
208 static const char yytranslate[] =
214 static const short yyprhs[] =
219 static const short yyrhs[] =
224 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */
225 static const short yyrline[] =
231 #if YYDEBUG || YYERROR_VERBOSE
232 /* YYTNME[TOKEN_NUM] -- String name of the token TOKEN_NUM. */
233 static const char *const yytname[] =
239 /* YYTOKNUM[YYN] -- Index in YYTNAME corresponding to YYLEX. */
240 static const short yytoknum[] =
245 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
246 static const short yyr1[] =
251 /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
252 static const short yyr2[] =
257 /* YYDEFACT[S] -- default rule to reduce with in state S when YYTABLE
258 doesn't specify something else to do. Zero means the default is an
260 static const short yydefact[] =
265 static const short yydefgoto[] =
270 static const short yypact[] =
275 static const short yypgoto[] =
280 static const short yytable[] =
285 static const short yycheck[] =
291 #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
292 # define YYSIZE_T __SIZE_TYPE__
294 #if ! defined (YYSIZE_T) && defined (size_t)
295 # define YYSIZE_T size_t
297 #if ! defined (YYSIZE_T)
299 # include <cstddef> /* INFRINGES ON USER NAME SPACE */
300 # define YYSIZE_T std::size_t
303 # include <stddef.h> /* INFRINGES ON USER NAME SPACE */
304 # define YYSIZE_T size_t
308 #if ! defined (YYSIZE_T)
309 # define YYSIZE_T unsigned int
312 #define yyerrok (yyerrstatus = 0)
313 #define yyclearin (yychar = YYEMPTY)
317 #define YYACCEPT goto yyacceptlab
318 #define YYABORT goto yyabortlab
319 #define YYERROR goto yyerrlab1
321 /* Like YYERROR except do call yyerror. This remains here temporarily
322 to ease the transition to the new meaning of YYERROR, for GCC.
323 Once GCC version 2 has supplanted version 1, this can go. */
325 #define YYFAIL goto yyerrlab
327 #define YYRECOVERING() (!!yyerrstatus)
329 #define YYBACKUP(Token, Value) \
331 if (yychar == YYEMPTY && yylen == 1) \
335 yychar1 = YYTRANSLATE (yychar); \
341 yyerror ("syntax error: cannot back up"); \
347 #define YYERRCODE 256
349 /* YYLLOC_DEFAULT -- Compute the default location (before the actions
352 When YYLLOC_DEFAULT is run, CURRENT is set the location of the
353 first token. By default, to implement support for ranges, extend
354 its range to the last symbol. */
356 #ifndef YYLLOC_DEFAULT
357 # define YYLLOC_DEFAULT(Current, Rhs, N) \
358 Current.last_line = Rhs[N].last_line; \
359 Current.last_column = Rhs[N].last_column;
362 /* YYLEX -- calling `yylex' with the right arguments. */
367 # define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM)
369 # define YYLEX yylex (&yylval, &yylloc)
371 # else /* !YYLSP_NEEDED */
373 # define YYLEX yylex (&yylval, YYLEX_PARAM)
375 # define YYLEX yylex (&yylval)
377 # endif /* !YYLSP_NEEDED */
379 # define YYLEX yylex ()
382 /* Enable debugging if requested. */
387 # include <cstdio.h> /* INFRINGES ON USER NAME SPACE */
388 # define YYFPRINTF std::fprintf
389 # define YYSTDERR std::stderr
391 # include <stdio.h> /* INFRINGES ON USER NAME SPACE */
392 # define YYFPRINTF fprintf
393 # define YYSTDERR stderr
397 # define YYDPRINTF(Args) \
402 /* Nonzero means print parse trace. [The following comment makes no
403 sense to me. Could someone clarify it? --akim] Since this is
404 uninitialized, it does not stop multiple parsers from coexisting.
408 # define YYDPRINTF(Args)
409 #endif /* !YYDEBUG */
411 /* YYINITDEPTH -- initial size of the parser's stacks. */
413 # define YYINITDEPTH %%initdepth
416 /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
417 if the built-in stack extension method is used).
419 Do not make this value too large; the results are undefined if
420 SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH)
421 evaluated with infinite-precision integer arithmetic. */
428 # define YYMAXDEPTH %%maxdepth
433 #if ! defined (yyoverflow) && ! defined (yymemcpy)
434 # if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
435 # define yymemcpy __builtin_memcpy
436 # else /* not GNU C or C++ */
438 /* This is the most reliable way to avoid incompatibilities
439 in available built-in functions on various systems. */
441 # if defined (__STDC__) || defined (__cplusplus)
442 yymemcpy (char *yyto, const char *yyfrom, YYSIZE_T yycount)
444 yymemcpy (yyto, yyfrom, yycount)
450 register const char *yyf = yyfrom;
451 register char *yyt = yyto;
452 register YYSIZE_T yyi = yycount;
463 # if defined (__GLIBC__) && defined (_STRING_H)
464 # define yystrlen strlen
466 /* Return the length of YYSTR. */
468 # if defined (__STDC__) || defined (__cplusplus)
469 yystrlen (const char *yystr)
475 register const char *yys = yystr;
477 while (*yys++ != '\0')
480 return yys - yystr - 1;
486 # if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE)
487 # define yystpcpy stpcpy
489 /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
492 # if defined (__STDC__) || defined (__cplusplus)
493 yystpcpy (char *yydest, const char *yysrc)
495 yystpcpy (yydest, yysrc)
500 register char *yyd = yydest;
501 register const char *yys = yysrc;
503 while ((*yyd++ = *yys++) != '\0')
511 #endif /* !YYERROR_VERBOSE */
515 /* The user can define YYPARSE_PARAM as the name of an argument to be passed
516 into yyparse. The argument should have type void *.
517 It should actually point to an object.
518 Grammar actions can access the variable by casting it
519 to the proper pointer type. */
523 # define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
524 # define YYPARSE_PARAM_DECL
525 # else /* !__cplusplus */
526 # define YYPARSE_PARAM_ARG YYPARSE_PARAM
527 # define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
528 # endif /* !__cplusplus */
529 #else /* !YYPARSE_PARAM */
530 # define YYPARSE_PARAM_ARG
531 # define YYPARSE_PARAM_DECL
532 #endif /* !YYPARSE_PARAM */
534 /* Prevent warning if -Wstrict-prototypes. */
536 # ifdef YYPARSE_PARAM
537 int yyparse (void *);
543 /* YY_DECL_VARIABLES -- depending whether we use a pure parser,
544 variables are global, or local to YYPARSE. */
546 #define YY_DECL_NON_LSP_VARIABLES \
547 /* The lookahead symbol. */ \
550 /* The semantic value of the lookahead symbol. */ \
553 /* Number of parse errors so far. */ \
557 # define YY_DECL_VARIABLES \
558 YY_DECL_NON_LSP_VARIABLES \
560 /* Location data for the lookahead symbol. */ \
563 # define YY_DECL_VARIABLES \
564 YY_DECL_NON_LSP_VARIABLES
567 /* If nonreentrant, generate the variables here. */
574 yyparse (YYPARSE_PARAM_ARG)
577 /* If reentrant, generate the variables here. */
582 register int yystate;
585 /* Number of tokens to shift before error messages enabled. */
587 /* Lookahead token as an internal (translated) token number. */
590 /* Three stacks and their tools:
591 `yyss': related to states,
592 `yyvs': related to semantic values,
593 `yyls': related to locations.
595 Refer to the stacks thru separate pointers, to allow yyoverflow
596 to reallocate them elsewhere. */
598 /* The state stack. */
599 short yyssa[YYINITDEPTH];
601 register short *yyssp;
603 /* The semantic value stack. */
604 YYSTYPE yyvsa[YYINITDEPTH];
605 YYSTYPE *yyvs = yyvsa;
606 register YYSTYPE *yyvsp;
609 /* The location stack. */
610 YYLTYPE yylsa[YYINITDEPTH];
611 YYLTYPE *yyls = yylsa;
616 # define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
618 # define YYPOPSTACK (yyvsp--, yyssp--)
621 YYSIZE_T yystacksize = YYINITDEPTH;
623 /* The variables used to return semantic value and location from the
630 /* When reducing, the number of symbols on the RHS of the reduced
634 YYDPRINTF ((YYSTDERR, "Starting parse\n"));
639 yychar = YYEMPTY; /* Cause a token to be read. */
641 /* Initialize stack pointers.
642 Waste one element of value and location stack
643 so that they stay on the same level as the state stack.
644 The wasted elements are never initialized. */
653 /*------------------------------------------------------------.
654 | yynewstate -- Push a new state, which is found in yystate. |
655 `------------------------------------------------------------*/
657 /* In all cases, when you get here, the value and location stacks
658 have just been pushed. so pushing a state here evens the stacks.
665 if (yyssp >= yyss + yystacksize - 1)
667 /* Get the current used size of the three stacks, in elements. */
668 YYSIZE_T yysize = yyssp - yyss + 1;
672 /* Give user a chance to reallocate the stack. Use copies of
673 these so that the &'s don't force the real ones into
675 YYSTYPE *yyvs1 = yyvs;
678 /* Each stack pointer address is followed by the size of the
679 data in use in that stack, in bytes. */
681 YYLTYPE *yyls1 = yyls;
682 /* This used to be a conditional around just the two extra args,
683 but that might be undefined if yyoverflow is a macro. */
684 yyoverflow ("parser stack overflow",
685 &yyss1, yysize * sizeof (*yyssp),
686 &yyvs1, yysize * sizeof (*yyvsp),
687 &yyls1, yysize * sizeof (*yylsp),
691 yyoverflow ("parser stack overflow",
692 &yyss1, yysize * sizeof (*yyssp),
693 &yyvs1, yysize * sizeof (*yyvsp),
699 #else /* no yyoverflow */
700 /* Extend the stack our own way. */
701 if (yystacksize >= YYMAXDEPTH)
704 if (yystacksize > YYMAXDEPTH)
705 yystacksize = YYMAXDEPTH;
709 union yyalloc *yyptr =
710 (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
713 YYSTACK_RELOCATE (short, yyss);
714 YYSTACK_RELOCATE (YYSTYPE, yyvs);
716 YYSTACK_RELOCATE (YYLTYPE, yyls);
718 # undef YYSTACK_RELOCATE
720 YYSTACK_FREE (yyss1);
722 #endif /* no yyoverflow */
724 yyssp = yyss + yysize - 1;
725 yyvsp = yyvs + yysize - 1;
727 yylsp = yyls + yysize - 1;
730 YYDPRINTF ((YYSTDERR, "Stack size increased to %lu\n",
731 (unsigned long int) yystacksize));
733 if (yyssp >= yyss + yystacksize - 1)
737 YYDPRINTF ((YYSTDERR, "Entering state %d\n", yystate));
746 /* Do appropriate processing given the current state. */
747 /* Read a lookahead token if we need one and don't already have one. */
750 /* First try to decide what to do without reference to lookahead token. */
752 yyn = yypact[yystate];
756 /* Not known => get a lookahead token if don't already have one. */
758 /* yychar is either YYEMPTY or YYEOF
759 or a valid token in external form. */
761 if (yychar == YYEMPTY)
763 YYDPRINTF ((YYSTDERR, "Reading a token: "));
767 /* Convert token to internal form (in yychar1) for indexing tables with. */
769 if (yychar <= 0) /* This means end of input. */
772 yychar = YYEOF; /* Don't call YYLEX any more. */
774 YYDPRINTF ((YYSTDERR, "Now at end of input.\n"));
778 yychar1 = YYTRANSLATE (yychar);
781 /* We have to keep this `#if YYDEBUG', since we use variables
782 which are defined only if `YYDEBUG' is set. */
785 YYFPRINTF (YYSTDERR, "Next token is %d (%s",
786 yychar, yytname[yychar1]);
787 /* Give the individual parser a way to print the precise
788 meaning of a token, for further debugging info. */
790 YYPRINT (YYSTDERR, yychar, yylval);
792 YYFPRINTF (YYSTDERR, ")\n");
798 if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
803 /* yyn is what to do for this token type in this state.
804 Negative => reduce, -yyn is rule number.
805 Positive => shift, yyn is new state.
806 New state is final state => don't bother to shift,
808 0, or most negative number => error. */
823 /* Shift the lookahead token. */
824 YYDPRINTF ((YYSTDERR, "Shifting token %d (%s), ",
825 yychar, yytname[yychar1]));
827 /* Discard the token being shifted unless it is eof. */
836 /* Count tokens shifted since error; after three, turn off error
845 /*-----------------------------------------------------------.
846 | yydefault -- do the default action for the current state. |
847 `-----------------------------------------------------------*/
849 yyn = yydefact[yystate];
855 /*-----------------------------.
856 | yyreduce -- Do a reduction. |
857 `-----------------------------*/
859 /* yyn is the number of a rule to reduce with. */
862 /* If YYLEN is nonzero, implement the default value of the action:
865 Otherwise, the following line sets YYVAL to the semantic value of
866 the lookahead token. This behavior is undocumented and Bison
867 users should not rely upon it. Assigning to YYVAL
868 unconditionally makes the parser a bit smaller, and it avoids a
869 GCC warning that YYVAL may be used uninitialized. */
870 yyval = yyvsp[1-yylen];
873 /* Similarly for the default location. Let the user run additional
874 commands if for instance locations are ranges. */
875 yyloc = yylsp[1-yylen];
876 YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen);
880 /* We have to keep this `#if YYDEBUG', since we use variables which
881 are defined only if `YYDEBUG' is set. */
886 YYFPRINTF (YYSTDERR, "Reducing via rule %d (line %d), ",
889 /* Print the symbols being reduced, and their result. */
890 for (yyi = yyprhs[yyn]; yyrhs[yyi] > 0; yyi++)
891 YYFPRINTF (YYSTDERR, "%s ", yytname[yyrhs[yyi]]);
892 YYFPRINTF (YYSTDERR, " -> %s\n", yytname[yyr1[yyn]]);
899 /* Line 902 of bison.simple. */
900 #line %%line "%%parser-file-name"
911 short *yyssp1 = yyss - 1;
912 YYFPRINTF (YYSTDERR, "state stack now");
913 while (yyssp1 != yyssp)
914 YYFPRINTF (YYSTDERR, " %d", *++yyssp1);
915 YYFPRINTF (YYSTDERR, "\n");
924 /* Now `shift' the result of the reduction. Determine what state
925 that goes to, based on the state we popped back to and the rule
926 number reduced by. */
930 yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
931 if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
932 yystate = yytable[yystate];
934 yystate = yydefgoto[yyn - YYNTBASE];
939 /*------------------------------------.
940 | yyerrlab -- here on detecting error |
941 `------------------------------------*/
943 /* If not already recovering from an error, report this error. */
949 yyn = yypact[yystate];
951 if (yyn > YYFLAG && yyn < YYLAST)
958 /* Start YYX at -YYN if negative to avoid negative indexes in
960 for (yyx = yyn < 0 ? -yyn : 0;
961 yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++)
962 if (yycheck[yyx + yyn] == yyx)
963 yysize += yystrlen (yytname[yyx]) + 15, yycount++;
964 yysize += yystrlen ("parse error, unexpected ") + 1;
965 yysize += yystrlen (yytname[YYTRANSLATE (yychar)]);
966 yymsg = (char *) YYSTACK_ALLOC (yysize);
969 char *yyp = yystpcpy (yymsg, "parse error, unexpected ");
970 yyp = yystpcpy (yyp, yytname[YYTRANSLATE (yychar)]);
975 for (yyx = yyn < 0 ? -yyn : 0;
976 yyx < (int) (sizeof (yytname) / sizeof (char *));
978 if (yycheck[yyx + yyn] == yyx)
980 const char *yyq = ! yycount ? ", expecting " : " or ";
981 yyp = yystpcpy (yyp, yyq);
982 yyp = yystpcpy (yyp, yytname[yyx]);
987 YYSTACK_FREE (yymsg);
990 yyerror ("parse error; also virtual memory exhausted");
993 #endif /* YYERROR_VERBOSE */
994 yyerror ("parse error");
999 /*----------------------------------------------------.
1000 | yyerrlab1 -- error raised explicitly by an action. |
1001 `----------------------------------------------------*/
1003 if (yyerrstatus == 3)
1005 /* If just tried and failed to reuse lookahead token after an
1006 error, discard it. */
1008 /* Return failure if at end of input. */
1009 if (yychar == YYEOF)
1011 YYDPRINTF ((YYSTDERR, "Discarding token %d (%s).\n",
1012 yychar, yytname[yychar1]));
1016 /* Else will try to reuse lookahead token after shifting the error
1019 yyerrstatus = 3; /* Each real token shifted decrements this. */
1024 /*-------------------------------------------------------------------.
1025 | yyerrdefault -- current state does not do anything special for the |
1027 `-------------------------------------------------------------------*/
1030 /* This is wrong; only states that explicitly want error tokens
1031 should shift them. */
1033 /* If its default is to accept any token, ok. Otherwise pop it. */
1034 yyn = yydefact[yystate];
1040 /*---------------------------------------------------------------.
1041 | yyerrpop -- pop the current state because it cannot handle the |
1043 `---------------------------------------------------------------*/
1056 short *yyssp1 = yyss - 1;
1057 YYFPRINTF (YYSTDERR, "Error: state stack now");
1058 while (yyssp1 != yyssp)
1059 YYFPRINTF (YYSTDERR, " %d", *++yyssp1);
1060 YYFPRINTF (YYSTDERR, "\n");
1068 yyn = yypact[yystate];
1073 if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
1090 YYDPRINTF ((YYSTDERR, "Shifting error token, "));
1101 /*-------------------------------------.
1102 | yyacceptlab -- YYACCEPT comes here. |
1103 `-------------------------------------*/
1108 /*-----------------------------------.
1109 | yyabortlab -- YYABORT comes here. |
1110 `-----------------------------------*/
1115 /*---------------------------------------------.
1116 | yyoverflowab -- parser overflow comes here. |
1117 `---------------------------------------------*/
1119 yyerror ("parser stack overflow");
1126 YYSTACK_FREE (yyss);