- 0, 0, 3, 8, 9, 12, 14, 16, 18, 22,
- 24, 26, 29, 32, 36, 38, 40, 42, 44, 48,
- 50, 52, 56, 58, 60, 63, 65, 67, 69, 71,
- 73, 75, 78, 80, 83, 86, 88, 90, 91, 95,
- 96, 100, 104, 108, 110, 112, 114, 115, 117, 119,
- 122, 124, 126, 129, 132, 136, 138, 141, 143, 146,
- 148, 151, 154, 155, 159, 161, 165, 168, 169, 172,
- 175, 179, 183, 187, 189, 191, 193, 195, 197, 198
+ 0, 0, 3, 8, 9, 12, 14, 16, 18, 21,
+ 25, 27, 29, 32, 35, 39, 41, 43, 45, 47,
+ 51, 53, 55, 59, 61, 63, 66, 68, 70, 72,
+ 74, 76, 78, 81, 83, 86, 89, 91, 93, 94,
+ 98, 99, 103, 107, 111, 113, 115, 117, 118, 120,
+ 122, 125, 127, 129, 132, 135, 139, 141, 144, 146,
+ 149, 151, 154, 157, 158, 162, 164, 168, 171, 172,
+ 175, 178, 182, 186, 190, 192, 194, 196, 198, 200,
+ 201
- 74, -1, 20, -1, 21, -1, 22, 4, -1, 23,
- 4, -1, 24, 42, 74, -1, 25, -1, 26, -1,
- 27, -1, 28, -1, 29, 42, 74, -1, 31, -1,
- 32, -1, 33, 42, 74, -1, 34, -1, 35, -1,
- 36, 74, -1, 38, -1, 39, -1, 40, -1, 43,
- -1, 59, -1, 56, -1, 37, 71, -1, 10, -1,
- 8, 62, -1, 9, 62, -1, 18, -1, 30, -1,
- -1, 6, 57, 64, -1, -1, 5, 58, 64, -1,
- 7, 41, 62, -1, 60, 61, 62, -1, 11, -1,
- 12, -1, 13, -1, -1, 41, -1, 71, -1, 62,
- 71, -1, 41, -1, 45, -1, 45, 4, -1, 45,
- 73, -1, 45, 4, 73, -1, 63, -1, 64, 63,
- -1, 66, -1, 65, 66, -1, 67, -1, 55, 43,
- -1, 1, 43, -1, -1, 46, 68, 69, -1, 70,
- -1, 69, 44, 70, -1, 69, 43, -1, -1, 70,
- 71, -1, 70, 72, -1, 70, 14, 71, -1, 70,
- 15, 4, -1, 70, 16, 41, -1, 45, -1, 73,
- -1, 50, -1, 3, -1, 3, -1, -1, 47, 49,
- -1
+ -1, 19, 74, 74, -1, 20, -1, 21, -1, 22,
+ 4, -1, 23, 4, -1, 24, 42, 74, -1, 25,
+ -1, 26, -1, 27, -1, 28, -1, 29, 42, 74,
+ -1, 31, -1, 32, -1, 33, 42, 74, -1, 34,
+ -1, 35, -1, 36, 74, -1, 38, -1, 39, -1,
+ 40, -1, 43, -1, 59, -1, 56, -1, 37, 71,
+ -1, 10, -1, 8, 62, -1, 9, 62, -1, 18,
+ -1, 30, -1, -1, 6, 57, 64, -1, -1, 5,
+ 58, 64, -1, 7, 41, 62, -1, 60, 61, 62,
+ -1, 11, -1, 12, -1, 13, -1, -1, 41, -1,
+ 71, -1, 62, 71, -1, 41, -1, 45, -1, 45,
+ 4, -1, 45, 73, -1, 45, 4, 73, -1, 63,
+ -1, 64, 63, -1, 66, -1, 65, 66, -1, 67,
+ -1, 55, 43, -1, 1, 43, -1, -1, 46, 68,
+ 69, -1, 70, -1, 69, 44, 70, -1, 69, 43,
+ -1, -1, 70, 71, -1, 70, 72, -1, 70, 14,
+ 71, -1, 70, 15, 4, -1, 70, 16, 41, -1,
+ 45, -1, 73, -1, 50, -1, 3, -1, 3, -1,
+ -1, 47, 49, -1
- 0, 171, 171, 179, 181, 185, 186, 187, 188, 189,
- 190, 191, 192, 193, 194, 199, 203, 204, 205, 206,
- 207, 208, 209, 210, 211, 212, 213, 214, 215, 219,
- 220, 221, 225, 231, 238, 245, 249, 256, 256, 261,
- 261, 266, 276, 291, 292, 293, 297, 298, 304, 305,
- 310, 314, 319, 325, 331, 342, 343, 352, 353, 359,
- 360, 365, 372, 372, 376, 377, 378, 383, 384, 386,
- 388, 390, 392, 397, 398, 402, 408, 417, 424, 426
+ 0, 188, 188, 196, 198, 202, 203, 204, 205, 206,
+ 207, 208, 209, 210, 211, 212, 217, 221, 222, 223,
+ 224, 225, 226, 227, 228, 229, 230, 231, 232, 233,
+ 237, 238, 239, 243, 249, 256, 263, 267, 274, 274,
+ 279, 279, 284, 294, 309, 310, 311, 315, 316, 322,
+ 323, 328, 332, 337, 343, 349, 360, 361, 370, 371,
+ 377, 378, 383, 390, 390, 394, 395, 396, 401, 402,
+ 404, 406, 408, 410, 415, 416, 420, 426, 435, 440,
+ 442
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 55,
- 55, 55, 55, 55, 55, 55, 55, 57, 56, 58,
- 56, 56, 59, 60, 60, 60, 61, 61, 62, 62,
- 63, 63, 63, 63, 63, 64, 64, 65, 65, 66,
- 66, 66, 68, 67, 69, 69, 69, 70, 70, 70,
- 70, 70, 70, 71, 71, 72, 73, 74, 75, 75
+ 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
+ 55, 55, 55, 55, 55, 55, 55, 55, 57, 56,
+ 58, 56, 56, 59, 60, 60, 60, 61, 61, 62,
+ 62, 63, 63, 63, 63, 63, 64, 64, 65, 65,
+ 66, 66, 66, 68, 67, 69, 69, 69, 70, 70,
+ 70, 70, 70, 70, 71, 71, 72, 73, 74, 75,
+ 75
- 0, 2, 4, 0, 2, 1, 1, 1, 3, 1,
- 1, 2, 2, 3, 1, 1, 1, 1, 3, 1,
- 1, 3, 1, 1, 2, 1, 1, 1, 1, 1,
- 1, 2, 1, 2, 2, 1, 1, 0, 3, 0,
- 3, 3, 3, 1, 1, 1, 0, 1, 1, 2,
- 1, 1, 2, 2, 3, 1, 2, 1, 2, 1,
- 2, 2, 0, 3, 1, 3, 2, 0, 2, 2,
- 3, 3, 3, 1, 1, 1, 1, 1, 0, 2
+ 0, 2, 4, 0, 2, 1, 1, 1, 2, 3,
+ 1, 1, 2, 2, 3, 1, 1, 1, 1, 3,
+ 1, 1, 3, 1, 1, 2, 1, 1, 1, 1,
+ 1, 1, 2, 1, 2, 2, 1, 1, 0, 3,
+ 0, 3, 3, 3, 1, 1, 1, 0, 1, 1,
+ 2, 1, 1, 2, 2, 3, 1, 2, 1, 2,
+ 1, 2, 2, 0, 3, 1, 3, 2, 0, 2,
+ 2, 3, 3, 3, 1, 1, 1, 1, 1, 0,
+ 2
- 3, 0, 0, 1, 39, 37, 0, 0, 0, 32,
- 43, 44, 45, 7, 35, 0, 9, 10, 0, 0,
- 0, 14, 15, 16, 17, 0, 36, 19, 20, 0,
- 22, 23, 0, 0, 25, 26, 27, 28, 0, 6,
- 4, 5, 30, 29, 46, 0, 0, 0, 76, 73,
- 33, 48, 74, 34, 77, 0, 11, 12, 0, 0,
- 0, 24, 31, 0, 62, 0, 0, 57, 59, 47,
- 0, 50, 51, 55, 40, 38, 41, 49, 8, 13,
- 18, 21, 61, 67, 60, 0, 58, 2, 42, 52,
- 53, 56, 63, 64, 79, 54, 66, 67, 0, 0,
- 0, 75, 68, 69, 65, 70, 71, 72
+ 3, 0, 0, 1, 40, 38, 0, 0, 0, 33,
+ 44, 45, 46, 7, 36, 0, 10, 11, 0, 0,
+ 0, 15, 16, 17, 18, 0, 37, 20, 21, 0,
+ 23, 24, 0, 0, 26, 27, 28, 29, 0, 6,
+ 4, 5, 31, 30, 47, 0, 0, 0, 77, 74,
+ 34, 49, 75, 35, 78, 8, 12, 13, 0, 0,
+ 0, 25, 32, 0, 63, 0, 0, 58, 60, 48,
+ 0, 51, 52, 56, 41, 39, 42, 50, 9, 14,
+ 19, 22, 62, 68, 61, 0, 59, 2, 43, 53,
+ 54, 57, 64, 65, 80, 55, 67, 68, 0, 0,
+ 0, 76, 69, 70, 66, 71, 72, 73
+ return yystpcpy (yyres, yystr) - yyres;
+}
+# endif
+
+/* Copy into YYRESULT an error message about the unexpected token
+ YYCHAR while in state YYSTATE. Return the number of bytes copied,
+ including the terminating null byte. If YYRESULT is null, do not
+ copy anything; just return the number of bytes that would be
+ copied. As a special case, return 0 if an ordinary "syntax error"
+ message will do. Return YYSIZE_MAXIMUM if overflow occurs during
+ size calculation. */
+static YYSIZE_T
+yysyntax_error (char *yyresult, int yystate, int yychar)
+{
+ int yyn = yypact[yystate];
+
+ if (! (YYPACT_NINF < yyn && yyn < YYLAST))
+ return 0;
+ else
+ {
+ int yytype = YYTRANSLATE (yychar);
+ YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]);
+ YYSIZE_T yysize = yysize0;
+ YYSIZE_T yysize1;
+ int yysize_overflow = 0;
+ enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
+ char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
+ int yyx;
+
+# if 0
+ /* This is so xgettext sees the translatable formats that are
+ constructed on the fly. */
+ YY_("syntax error, unexpected %s");
+ YY_("syntax error, unexpected %s, expecting %s");
+ YY_("syntax error, unexpected %s, expecting %s or %s");
+ YY_("syntax error, unexpected %s, expecting %s or %s or %s");
+ YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s");
+# endif
+ char *yyfmt;
+ char const *yyf;
+ static char const yyunexpected[] = "syntax error, unexpected %s";
+ static char const yyexpecting[] = ", expecting %s";
+ static char const yyor[] = " or %s";
+ char yyformat[sizeof yyunexpected
+ + sizeof yyexpecting - 1
+ + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2)
+ * (sizeof yyor - 1))];
+ char const *yyprefix = yyexpecting;
+
+ /* Start YYX at -YYN if negative to avoid negative indexes in
+ YYCHECK. */
+ int yyxbegin = yyn < 0 ? -yyn : 0;
+
+ /* Stay within bounds of both yycheck and yytname. */
+ int yychecklim = YYLAST - yyn;
+ int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
+ int yycount = 1;
+
+ yyarg[0] = yytname[yytype];
+ yyfmt = yystpcpy (yyformat, yyunexpected);
+
+ for (yyx = yyxbegin; yyx < yyxend; ++yyx)
+ if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
+ {
+ if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
+ {
+ yycount = 1;
+ yysize = yysize0;
+ yyformat[sizeof yyunexpected - 1] = '\0';
+ break;
+ }
+ yyarg[yycount++] = yytname[yyx];
+ yysize1 = yysize + yytnamerr (0, yytname[yyx]);
+ yysize_overflow |= yysize1 < yysize;
+ yysize = yysize1;
+ yyfmt = yystpcpy (yyfmt, yyprefix);
+ yyprefix = yyor;
+ }
+
+ yyf = YY_(yyformat);
+ yysize1 = yysize + yystrlen (yyf);
+ yysize_overflow |= yysize1 < yysize;
+ yysize = yysize1;
+
+ if (yysize_overflow)
+ return YYSIZE_MAXIMUM;
+
+ if (yyresult)
+ {
+ /* Avoid sprintf, as that infringes on the user's name space.
+ Don't have undefined behavior even if the translation
+ produced a string with the wrong number of "%s"s. */
+ char *yyp = yyresult;
+ int yyi = 0;
+ while ((*yyp = *yyf))
+ {
+ if (*yyp == '%' && yyf[1] == 's' && yyi < yycount)
+ {
+ yyp += yytnamerr (yyp, yyarg[yyi++]);
+ yyf += 2;
+ }
+ else
+ {
+ yyp++;
+ yyf++;
+ }
+ }
+ }
+ return yysize;
+ }
+}
+#endif /* YYERROR_VERBOSE */
+ case 3: /* "\"string\"" */
+#line 165 "../../src/parse-gram.y"
+ { fprintf (stderr, "\"%s\"", (yyvaluep->chars)); };
+#line 1191 "../../src/parse-gram.c"
+ break;
+ case 4: /* "\"integer\"" */
+#line 178 "../../src/parse-gram.y"
+ { fprintf (stderr, "%d", (yyvaluep->integer)); };
+#line 1196 "../../src/parse-gram.c"
+ break;
+ case 8: /* "\"%destructor {...}\"" */
+#line 167 "../../src/parse-gram.y"
+ { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
+#line 1201 "../../src/parse-gram.c"
+ break;
+ case 9: /* "\"%printer {...}\"" */
+#line 171 "../../src/parse-gram.y"
+ { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
+#line 1206 "../../src/parse-gram.c"
+ break;
+ case 10: /* "\"%union {...}\"" */
+#line 172 "../../src/parse-gram.y"
+ { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
+#line 1211 "../../src/parse-gram.c"
+ break;
+ case 26: /* "\"%initial-action {...}\"" */
+#line 168 "../../src/parse-gram.y"
+ { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
+#line 1216 "../../src/parse-gram.c"
+ break;
+ case 27: /* "\"%lex-param {...}\"" */
+#line 169 "../../src/parse-gram.y"
+ { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
+#line 1221 "../../src/parse-gram.c"
+ break;
+ case 34: /* "\"%parse-param {...}\"" */
+#line 170 "../../src/parse-gram.y"
+ { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
+#line 1226 "../../src/parse-gram.c"
+ break;
+ case 41: /* "\"type\"" */
+#line 176 "../../src/parse-gram.y"
+ { fprintf (stderr, "<%s>", (yyvaluep->uniqstr)); };
+#line 1231 "../../src/parse-gram.c"
+ break;
+ case 45: /* "\"identifier\"" */
+#line 180 "../../src/parse-gram.y"
+ { fprintf (stderr, "%s", (yyvaluep->symbol)->tag); };
+#line 1236 "../../src/parse-gram.c"
+ break;
+ case 46: /* "\"identifier:\"" */
+#line 182 "../../src/parse-gram.y"
+ { fprintf (stderr, "%s:", (yyvaluep->symbol)->tag); };
+#line 1241 "../../src/parse-gram.c"
+ break;
+ case 48: /* "\"%{...%}\"" */
+#line 174 "../../src/parse-gram.y"
+ { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
+#line 1246 "../../src/parse-gram.c"
+ break;
+ case 49: /* "\"epilogue\"" */
+#line 174 "../../src/parse-gram.y"
+ { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
+#line 1251 "../../src/parse-gram.c"
+ break;
+ case 50: /* "\"{...}\"" */
+#line 173 "../../src/parse-gram.y"
+ { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
+#line 1256 "../../src/parse-gram.c"
+ break;
+ case 71: /* "symbol" */
+#line 180 "../../src/parse-gram.y"
+ { fprintf (stderr, "%s", (yyvaluep->symbol)->tag); };
+#line 1261 "../../src/parse-gram.c"
+ break;
+ case 72: /* "action" */
+#line 173 "../../src/parse-gram.y"
+ { fprintf (stderr, "{\n%s\n}", (yyvaluep->chars)); };
+#line 1266 "../../src/parse-gram.c"
+ break;
+ case 73: /* "string_as_id" */
+#line 180 "../../src/parse-gram.y"
+ { fprintf (stderr, "%s", (yyvaluep->symbol)->tag); };
+#line 1271 "../../src/parse-gram.c"
+ break;
+ case 74: /* "string_content" */
+#line 165 "../../src/parse-gram.y"
+ { fprintf (stderr, "\"%s\"", (yyvaluep->chars)); };
+#line 1276 "../../src/parse-gram.c"
+ break;