47 #define YYBISON_VERSION "2.7"
50 #define YYSKELETON_NAME "yacc.c"
66 #line 1 "src/IceStorm/Grammar.y"
84 # pragma warning( disable : 4102 )
86 # pragma warning( disable : 4065 )
93 # pragma GCC diagnostic ignored "-Wold-style-cast"
108 #line 109 "src/IceStorm/Grammar.cpp"
111 # if defined __cplusplus && 201103L <= __cplusplus
112 # define YY_NULL nullptr
119 #ifdef YYERROR_VERBOSE
120 # undef YYERROR_VERBOSE
121 # define YYERROR_VERBOSE 1
123 # define YYERROR_VERBOSE 0
128 #ifndef YY_YY_SRC_ICESTORM_GRAMMAR_HPP_INCLUDED
129 # define YY_YY_SRC_ICESTORM_GRAMMAR_HPP_INCLUDED
161 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
163 # define YYSTYPE_IS_TRIVIAL 1
164 # define yystype YYSTYPE
165 # define YYSTYPE_IS_DECLARED 1
170 #if defined __STDC__ || defined __cplusplus
171 int yyparse(
void* YYPARSE_PARAM);
176 #if defined __STDC__ || defined __cplusplus
188 #line 188 "src/IceStorm/Grammar.cpp"
202 #elif (defined __STDC__ || defined __C99__FUNC__ \
203 || defined __cplusplus || defined _MSC_VER)
222 # ifdef __SIZE_TYPE__
223 # define YYSIZE_T __SIZE_TYPE__
224 # elif defined size_t
225 # define YYSIZE_T size_t
226 # elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
227 || defined __cplusplus || defined _MSC_VER)
229 # define YYSIZE_T size_t
231 # define YYSIZE_T unsigned int
235 #define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
238 # if defined YYENABLE_NLS && YYENABLE_NLS
240 # include <libintl.h>
241 # define YY_(Msgid) dgettext ("bison-runtime", Msgid)
245 # define YY_(Msgid) Msgid
250 #if ! defined lint || defined __GNUC__
251 # define YYUSE(E) ((void) (E))
260 #if (defined __STDC__ || defined __C99__FUNC__ \
261 || defined __cplusplus || defined _MSC_VER)
274 #if ! defined yyoverflow || YYERROR_VERBOSE
278 # ifdef YYSTACK_USE_ALLOCA
279 # if YYSTACK_USE_ALLOCA
281 # define YYSTACK_ALLOC __builtin_alloca
282 # elif defined __BUILTIN_VA_ARG_INCR
285 # define YYSTACK_ALLOC __alloca
286 # elif defined _MSC_VER
288 # define alloca _alloca
290 # define YYSTACK_ALLOC alloca
291 # if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
292 || defined __cplusplus || defined _MSC_VER)
295 # ifndef EXIT_SUCCESS
296 # define EXIT_SUCCESS 0
303 # ifdef YYSTACK_ALLOC
305 # define YYSTACK_FREE(Ptr) do { ; } while (YYID (0))
306 # ifndef YYSTACK_ALLOC_MAXIMUM
311 # define YYSTACK_ALLOC_MAXIMUM 4032
314 # define YYSTACK_ALLOC YYMALLOC
315 # define YYSTACK_FREE YYFREE
316 # ifndef YYSTACK_ALLOC_MAXIMUM
317 # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
319 # if (defined __cplusplus && ! defined EXIT_SUCCESS \
320 && ! ((defined YYMALLOC || defined malloc) \
321 && (defined YYFREE || defined free)))
323 # ifndef EXIT_SUCCESS
324 # define EXIT_SUCCESS 0
328 # define YYMALLOC malloc
329 # if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
330 || defined __cplusplus || defined _MSC_VER)
336 # if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
337 || defined __cplusplus || defined _MSC_VER)
345 #if (! defined yyoverflow \
346 && (! defined __cplusplus \
347 || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
357 # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
361 # define YYSTACK_BYTES(N) \
362 ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
363 + YYSTACK_GAP_MAXIMUM)
365 # define YYCOPY_NEEDED 1
372 # define YYSTACK_RELOCATE(Stack_alloc, Stack) \
375 YYSIZE_T yynewbytes; \
376 YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
377 Stack = &yyptr->Stack_alloc; \
378 yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
379 yyptr += yynewbytes / sizeof (*yyptr); \
385 #if defined YYCOPY_NEEDED && YYCOPY_NEEDED
389 # if defined __GNUC__ && 1 < __GNUC__
390 # define YYCOPY(Dst, Src, Count) \
391 __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src)))
393 # define YYCOPY(Dst, Src, Count) \
397 for (yyi = 0; yyi < (Count); yyi++) \
398 (Dst)[yyi] = (Src)[yyi]; \
421 #define YYMAXUTOK 269
423 #define YYTRANSLATE(YYX) \
424 ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
429 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
430 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
431 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
432 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
433 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
434 2, 2, 2, 2, 2, 2, 2, 2, 2, 15,
435 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
436 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
437 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
438 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
439 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
440 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
441 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
442 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
443 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
444 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
445 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
446 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
447 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
448 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
449 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
450 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
451 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
452 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
453 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
454 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
455 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
463 0, 0, 3, 5, 6, 9, 11, 14, 17, 21,
464 25, 29, 33, 37, 41, 45, 49, 53, 57, 60,
465 62, 65, 68, 69, 71, 73, 75, 77, 79, 81,
472 17, 0, -1, 18, -1, -1, 18, 19, -1, 19,
473 -1, 3, 15, -1, 4, 15, -1, 6, 20, 15,
474 -1, 5, 20, 15, -1, 7, 20, 15, -1, 8,
475 20, 15, -1, 9, 20, 15, -1, 10, 20, 15,
476 -1, 11, 20, 15, -1, 12, 20, 15, -1, 13,
477 20, 15, -1, 14, 1, 15, -1, 1, 15, -1,
478 15, -1, 14, 20, -1, 21, 20, -1, -1, 3,
479 -1, 4, -1, 5, -1, 6, -1, 7, -1, 8,
480 -1, 9, -1, 10, -1, 11, -1
486 0, 67, 67, 71, 78, 81, 89, 93, 97, 101,
487 105, 109, 113, 117, 121, 125, 129, 133, 137, 141,
488 149, 154, 160, 168, 171, 174, 177, 180, 183, 186,
493 #if YYDEBUG || YYERROR_VERBOSE || 0
496 static const char*
const yytname[] =
498 "$end",
"error",
"$undefined",
"ICE_STORM_HELP",
"ICE_STORM_EXIT",
499 "ICE_STORM_CURRENT",
"ICE_STORM_CREATE",
"ICE_STORM_DESTROY",
500 "ICE_STORM_LINK",
"ICE_STORM_UNLINK",
"ICE_STORM_LINKS",
501 "ICE_STORM_TOPICS",
"ICE_STORM_REPLICA",
"ICE_STORM_SUBSCRIBERS",
502 "ICE_STORM_STRING",
"';'",
"$accept",
"start",
"commands",
"command",
512 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
513 265, 266, 267, 268, 269, 59
520 0, 16, 17, 17, 18, 18, 19, 19, 19, 19,
521 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
522 20, 20, 20, 21, 21, 21, 21, 21, 21, 21,
529 0, 2, 1, 0, 2, 1, 2, 2, 3, 3,
530 3, 3, 3, 3, 3, 3, 3, 3, 2, 1,
531 2, 2, 0, 1, 1, 1, 1, 1, 1, 1,
540 0, 0, 0, 0, 22, 22, 22, 22, 22, 22,
541 22, 22, 22, 0, 19, 0, 0, 5, 18, 6,
542 7, 23, 24, 25, 26, 27, 28, 29, 30, 31,
543 22, 0, 22, 0, 0, 0, 0, 0, 0, 0,
544 0, 0, 1, 4, 20, 9, 21, 8, 10, 11,
545 12, 13, 14, 15, 16, 17
551 -1, 15, 16, 17, 31, 32
556 #define YYPACT_NINF -6
559 8, 9, 11, 15, 41, 41, 41, 41, 41, 41,
560 41, 41, 41, 52, -6, 10, 28, -6, -6, -6,
561 -6, -6, -6, -6, -6, -6, -6, -6, -6, -6,
562 41, 39, 41, 42, 43, 44, 45, 46, 47, 48,
563 49, 50, -6, -6, -6, -6, -6, -6, -6, -6,
564 -6, -6, -6, -6, -6, -6
570 -6, -6, -6, 40, -5, -6
576 #define YYTABLE_NINF -4
579 33, 34, 35, 36, 37, 38, 39, 40, -3, 1,
580 42, 2, 3, 4, 5, 6, 7, 8, 9, 10,
581 11, 12, 13, 14, 18, 44, 19, 46, -2, 1,
582 20, 2, 3, 4, 5, 6, 7, 8, 9, 10,
583 11, 12, 13, 14, 21, 22, 23, 24, 25, 26,
584 27, 28, 29, 41, 45, 30, 43, 47, 48, 49,
585 50, 51, 52, 53, 54, 55
588 #define yypact_value_is_default(Yystate) \
589 (!!((Yystate) == (-6)))
591 #define yytable_value_is_error(Yytable_value) \
596 5, 6, 7, 8, 9, 10, 11, 12, 0, 1,
597 0, 3, 4, 5, 6, 7, 8, 9, 10, 11,
598 12, 13, 14, 15, 15, 30, 15, 32, 0, 1,
599 15, 3, 4, 5, 6, 7, 8, 9, 10, 11,
600 12, 13, 14, 15, 3, 4, 5, 6, 7, 8,
601 9, 10, 11, 1, 15, 14, 16, 15, 15, 15,
602 15, 15, 15, 15, 15, 15
609 0, 1, 3, 4, 5, 6, 7, 8, 9, 10,
610 11, 12, 13, 14, 15, 17, 18, 19, 15, 15,
611 15, 3, 4, 5, 6, 7, 8, 9, 10, 11,
612 14, 20, 21, 20, 20, 20, 20, 20, 20, 20,
613 20, 1, 0, 19, 20, 15, 20, 15, 15, 15,
614 15, 15, 15, 15, 15, 15
617 #define yyerrok (yyerrstatus = 0)
618 #define yyclearin (yychar = YYEMPTY)
622 #define YYACCEPT goto yyacceptlab
623 #define YYABORT goto yyabortlab
624 #define YYERROR goto yyerrorlab
634 #define YYFAIL goto yyerrlab
642 #define YYRECOVERING() (!!yyerrstatus)
644 #define YYBACKUP(Token, Value) \
646 if (yychar == YYEMPTY) \
650 YYPOPSTACK (yylen); \
656 yyerror (YY_("syntax error: cannot back up")); \
663 #define YYERRCODE 256
667 #ifndef YY_LOCATION_PRINT
668 # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
674 # define YYLEX yylex (&yylval, YYLEX_PARAM)
676 # define YYLEX yylex (&yylval)
684 # define YYFPRINTF fprintf
687 # define YYDPRINTF(Args) \
693 # define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
697 YYFPRINTF (stderr, "%s ", Title); \
698 yy_symbol_print (stderr, \
700 YYFPRINTF (stderr, "\n"); \
710 #if (defined __STDC__ || defined __C99__FUNC__ \
711 || defined __cplusplus || defined _MSC_VER)
722 FILE* yyo = yyoutput;
748 #if (defined __STDC__ || defined __C99__FUNC__ \
749 || defined __cplusplus || defined _MSC_VER)
778 #if (defined __STDC__ || defined __C99__FUNC__ \
779 || defined __cplusplus || defined _MSC_VER)
784 yy_stack_print(yybottom,
yytop)
790 for (; yybottom <=
yytop; yybottom++)
792 int yybot = *yybottom;
798 # define YY_STACK_PRINT(Bottom, Top) \
801 yy_stack_print ((Bottom), (Top)); \
809 #if (defined __STDC__ || defined __C99__FUNC__ \
810 || defined __cplusplus || defined _MSC_VER)
815 yy_reduce_print(yyvsp,
yyrule)
820 int yynrhs = yyr2[
yyrule];
823 YYFPRINTF(stderr,
"Reducing stack by rule %d (line %lu):\n",
829 yy_symbol_print(stderr, yyrhs[yyprhs[
yyrule] +
yyi],
830 &(yyvsp[(
yyi + 1) - (yynrhs)])
836 # define YY_REDUCE_PRINT(Rule) \
839 yy_reduce_print (yyvsp, Rule); \
846 # define YYDPRINTF(Args)
847 # define YY_SYMBOL_PRINT(Title, Type, Value, Location)
848 # define YY_STACK_PRINT(Bottom, Top)
849 # define YY_REDUCE_PRINT(Rule)
855 # define YYINITDEPTH 200
866 # define YYMAXDEPTH 10000
873 # if defined __GLIBC__ && defined _STRING_H
874 # define yystrlen strlen
877 #if (defined __STDC__ || defined __C99__FUNC__ \
878 || defined __cplusplus || defined _MSC_VER)
880 yystrlen(
const char* yystr)
888 for (yylen = 0; yystr[yylen]; yylen++)
898 # if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
899 # define yystpcpy stpcpy
903 #if (defined __STDC__ || defined __C99__FUNC__ \
904 || defined __cplusplus || defined _MSC_VER)
906 yystpcpy(
char* yydest,
const char* yysrc)
909 yystpcpy(yydest, yysrc)
915 const char* yys = yysrc;
917 while ((*yyd++ = *yys++) !=
'\0')
936 yytnamerr(
char* yyres,
const char* yystr)
941 char const* yyp = yystr;
948 goto do_not_strip_quotes;
953 goto do_not_strip_quotes;
977 return yystrlen(yystr);
980 return yystpcpy(yyres, yystr) - yyres;
993 yysyntax_error(
YYSIZE_T* yymsg_alloc,
char** yymsg,
998 enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
1000 const char* yyformat =
YY_NULL;
1002 char const* yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
1036 int yyn = yypact[*yyssp];
1037 yyarg[yycount++] = yytname[yytoken];
1043 int yyxbegin = yyn < 0 ? -yyn : 0;
1045 int yychecklim =
YYLAST - yyn + 1;
1049 for (yyx = yyxbegin; yyx < yyxend; ++yyx)
1050 if (yycheck[yyx + yyn] == yyx && yyx !=
YYTERROR
1053 if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
1059 yyarg[yycount++] = yytname[yyx];
1062 if (!(yysize <= yysize1
1075 # define YYCASE_(N, S) \
1079 YYCASE_(0,
YY_(
"syntax error"));
1080 YYCASE_(1,
YY_(
"syntax error, unexpected %s"));
1081 YYCASE_(2,
YY_(
"syntax error, unexpected %s, expecting %s"));
1082 YYCASE_(3,
YY_(
"syntax error, unexpected %s, expecting %s or %s"));
1083 YYCASE_(4,
YY_(
"syntax error, unexpected %s, expecting %s or %s or %s"));
1084 YYCASE_(5,
YY_(
"syntax error, unexpected %s, expecting %s or %s or %s or %s"));
1089 YYSIZE_T yysize1 = yysize + yystrlen(yyformat);
1097 if (*yymsg_alloc < yysize)
1099 *yymsg_alloc = 2 * yysize;
1100 if (!(yysize <= *yymsg_alloc
1114 while ((*yyp = *yyformat) !=
'\0')
1115 if (*yyp ==
'%' && yyformat[1] ==
's' &&
yyi < yycount)
1117 yyp += yytnamerr(yyp, yyarg[
yyi++]);
1135 #if (defined __STDC__ || defined __C99__FUNC__ \
1136 || defined __cplusplus || defined _MSC_VER)
1170 #ifdef YYPARSE_PARAM
1171 #if (defined __STDC__ || defined __C99__FUNC__ \
1172 || defined __cplusplus || defined _MSC_VER)
1178 void* YYPARSE_PARAM;
1181 #if (defined __STDC__ || defined __C99__FUNC__ \
1182 || defined __cplusplus || defined _MSC_VER)
1196 #if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
1198 # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
1199 _Pragma ("GCC diagnostic push") \
1200 _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\
1201 _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
1202 # define YY_IGNORE_MAYBE_UNINITIALIZED_END \
1203 _Pragma ("GCC diagnostic pop")
1208 # define YY_INITIAL_VALUE(Value) = Value
1210 #ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
1211 # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
1212 # define YY_IGNORE_MAYBE_UNINITIALIZED_END
1214 #ifndef YY_INITIAL_VALUE
1215 # define YY_INITIAL_VALUE(Value)
1258 char* yymsg = yymsgbuf;
1259 YYSIZE_T yymsg_alloc =
sizeof yymsgbuf;
1262 #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
1268 yyssp = yyss = yyssa;
1269 yyvsp = yyvs = yyvsa;
1272 YYDPRINTF((stderr,
"Starting parse\n"));
1291 if (yyss + yystacksize - 1 <= yyssp)
1294 YYSIZE_T yysize = yyssp - yyss + 1;
1309 &yyss1, yysize *
sizeof(*yyssp),
1310 &yyvs1, yysize *
sizeof(*yyvsp),
1317 # ifndef YYSTACK_RELOCATE
1318 goto yyexhaustedlab;
1323 goto yyexhaustedlab;
1337 goto yyexhaustedlab;
1341 # undef YYSTACK_RELOCATE
1350 yyssp = yyss + yysize - 1;
1351 yyvsp = yyvs + yysize - 1;
1353 YYDPRINTF((stderr,
"Stack size increased to %lu\n",
1354 (
unsigned long int) yystacksize));
1356 if (yyss + yystacksize - 1 <= yyssp)
1362 YYDPRINTF((stderr,
"Entering state %d\n", yystate));
1380 yyn = yypact[yystate];
1391 YYDPRINTF((stderr,
"Reading a token: "));
1395 if (yychar <=
YYEOF)
1397 yychar = yytoken =
YYEOF;
1398 YYDPRINTF((stderr,
"Now at end of input.\n"));
1409 if (yyn < 0 ||
YYLAST < yyn || yycheck[yyn] != yytoken)
1449 yyn = yydefact[yystate];
1472 yyval = yyvsp[1 - yylen];
1480 #line 68 "src/IceStorm/Grammar.y"
1487 #line 71 "src/IceStorm/Grammar.y"
1494 #line 79 "src/IceStorm/Grammar.y"
1501 #line 82 "src/IceStorm/Grammar.y"
1508 #line 90 "src/IceStorm/Grammar.y"
1516 #line 94 "src/IceStorm/Grammar.y"
1524 #line 98 "src/IceStorm/Grammar.y"
1532 #line 102 "src/IceStorm/Grammar.y"
1540 #line 106 "src/IceStorm/Grammar.y"
1548 #line 110 "src/IceStorm/Grammar.y"
1556 #line 114 "src/IceStorm/Grammar.y"
1564 #line 118 "src/IceStorm/Grammar.y"
1572 #line 122 "src/IceStorm/Grammar.y"
1580 #line 126 "src/IceStorm/Grammar.y"
1588 #line 130 "src/IceStorm/Grammar.y"
1596 #line 134 "src/IceStorm/Grammar.y"
1598 parser->
invalidCommand(
"unknown command `" + (yyvsp[(1) - (3)]).front() +
"' (type `help' for more info)");
1604 #line 138 "src/IceStorm/Grammar.y"
1612 #line 142 "src/IceStorm/Grammar.y"
1619 #line 150 "src/IceStorm/Grammar.y"
1621 (yyval) = (yyvsp[(2) - (2)]);
1622 (yyval).push_front((yyvsp[(1) - (2)]).front());
1628 #line 155 "src/IceStorm/Grammar.y"
1630 (yyval) = (yyvsp[(2) - (2)]);
1631 (yyval).push_front((yyvsp[(1) - (2)]).front());
1637 #line 160 "src/IceStorm/Grammar.y"
1645 #line 169 "src/IceStorm/Grammar.y"
1652 #line 172 "src/IceStorm/Grammar.y"
1659 #line 175 "src/IceStorm/Grammar.y"
1666 #line 178 "src/IceStorm/Grammar.y"
1673 #line 181 "src/IceStorm/Grammar.y"
1680 #line 184 "src/IceStorm/Grammar.y"
1687 #line 187 "src/IceStorm/Grammar.y"
1694 #line 190 "src/IceStorm/Grammar.y"
1701 #line 193 "src/IceStorm/Grammar.y"
1708 #line 1657 "src/IceStorm/Grammar.cpp"
1737 yystate = yypgoto[yyn -
YYNTOKENS] + *yyssp;
1738 if (0 <= yystate && yystate <=
YYLAST && yycheck[yystate] == *yyssp)
1740 yystate = yytable[yystate];
1762 #if ! YYERROR_VERBOSE
1765 # define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \
1768 char const* yymsgp =
YY_(
"syntax error");
1769 int yysyntax_error_status;
1770 yysyntax_error_status = YYSYNTAX_ERROR;
1771 if (yysyntax_error_status == 0)
1775 else if (yysyntax_error_status == 1)
1777 if (yymsg != yymsgbuf)
1785 yymsg_alloc =
sizeof yymsgbuf;
1786 yysyntax_error_status = 2;
1790 yysyntax_error_status = YYSYNTAX_ERROR;
1795 if (yysyntax_error_status == 2)
1797 goto yyexhaustedlab;
1800 # undef YYSYNTAX_ERROR
1806 if (yyerrstatus == 3)
1811 if (yychar <=
YYEOF)
1814 if (yychar ==
YYEOF)
1821 yydestruct(
"Error: discarding",
1862 yyn = yypact[yystate];
1883 yydestruct(
"Error: popping",
1884 yystos[yystate], yyvsp);
1916 #if !defined yyoverflow || YYERROR_VERBOSE
1932 yydestruct(
"Cleanup: discarding lookahead",
1939 while (yyssp != yyss)
1941 yydestruct(
"Cleanup: popping",
1942 yystos[*yyssp], yyvsp);
1952 if (yymsg != yymsgbuf)
1958 return YYID(yyresult);
1963 #line 196 "src/IceStorm/Grammar.y"