+/* YYFINAL -- State number of the termination state. */
+#define YYFINAL 3
+#define YYFLAG -32768
+#define YYLAST 91
+
+/* YYNTOKENS -- Number of terminals. */
+#define YYNTOKENS 40
+/* YYNNTS -- Number of nonterminals. */
+#define YYNNTS 30
+/* YYNRULES -- Number of rules. */
+#define YYNRULES 72
+/* YYNRULES -- Number of states. */
+#define YYNSTATES 98
+
+/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
+#define YYUNDEFTOK 2
+#define YYMAXUTOK 294
+
+#define YYTRANSLATE(X) \
+ ((unsigned)(X) <= YYMAXUTOK ? yytranslate[X] : YYUNDEFTOK)
+
+/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
+static const unsigned char yytranslate[] =
+{
+ 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
+ 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
+ 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
+ 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
+ 35, 36, 37, 38, 39
+};
+
+#if YYDEBUG
+/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
+ YYRHS. */
+static const unsigned char yyprhs[] =
+{
+ 0, 0, 3, 4, 10, 11, 15, 17, 19, 21,
+ 25, 27, 29, 32, 36, 38, 42, 44, 48, 50,
+ 53, 55, 57, 59, 61, 63, 66, 69, 70, 74,
+ 75, 79, 80, 85, 86, 91, 93, 95, 97, 98,
+ 100, 102, 105, 107, 110, 112, 114, 117, 120, 124,
+ 126, 129, 131, 134, 136, 139, 140, 146, 148, 152,
+ 153, 156, 159, 163, 165, 167, 169, 171, 173, 175,
+ 176, 179, 180
+};
+
+/* YYRHS -- A `-1'-separated list of the rules' RHS. */
+static const signed char yyrhs[] =
+{
+ 41, 0, -1, -1, 42, 43, 33, 58, 68, -1,
+ -1, 43, 44, 69, -1, 45, -1, 34, -1, 22,
+ -1, 18, 67, 67, -1, 20, -1, 14, -1, 10,
+ 5, -1, 16, 28, 67, -1, 23, -1, 17, 28,
+ 67, -1, 24, -1, 15, 28, 67, -1, 19, -1,
+ 25, 67, -1, 26, -1, 13, -1, 21, -1, 50,
+ -1, 46, -1, 11, 64, -1, 9, 36, -1, -1,
+ 7, 47, 57, -1, -1, 6, 48, 57, -1, -1,
+ 8, 27, 49, 54, -1, -1, 52, 53, 51, 55,
+ -1, 37, -1, 38, -1, 39, -1, -1, 27, -1,
+ 32, -1, 54, 32, -1, 64, -1, 55, 64, -1,
+ 27, -1, 32, -1, 32, 5, -1, 32, 66, -1,
+ 32, 5, 66, -1, 56, -1, 57, 56, -1, 59,
+ -1, 58, 59, -1, 60, -1, 45, 29, -1, -1,
+ 32, 30, 61, 62, 29, -1, 63, -1, 62, 31,
+ 63, -1, -1, 63, 64, -1, 63, 65, -1, 63,
+ 12, 64, -1, 32, -1, 66, -1, 4, -1, 36,
+ -1, 3, -1, 3, -1, -1, 33, 35, -1, -1,
+ 29, -1
+};
+
+/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
+static const unsigned short yyrline[] =
+{
+ 0, 131, 131, 131, 144, 146, 149, 151, 152, 153,
+ 154, 155, 156, 157, 158, 159, 160, 161, 162, 163,
+ 164, 165, 166, 169, 171, 172, 176, 184, 184, 190,
+ 190, 195, 195, 201, 201, 211, 213, 214, 217, 219,
+ 223, 225, 229, 235, 243, 248, 253, 259, 265, 275,
+ 278, 287, 289, 295, 297, 300, 300, 305, 307, 310,
+ 313, 315, 317, 321, 323, 324, 327, 333, 342, 350,
+ 355, 361, 363
+};
+#endif
+
+#if YYDEBUG || YYERROR_VERBOSE
+/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
+ First, the terminals, then, starting at YYNTOKENS, nonterminals. */
+static const char *const yytname[] =
+{
+ "\"end of string\"", "error", "$undefined.", "STRING", "CHARACTER", "INT",
+ "\"%token\"", "\"%nterm\"", "\"%type\"", "\"%union\"", "\"%expect\"",
+ "\"%start\"", "\"%prec\"", "\"%verbose\"", "\"%error-verbose\"",
+ "\"%output\"", "\"%file-prefix\"", "\"%name-prefix\"", "\"%define\"",
+ "\"%pure-parser\"", "\"%defines\"", "\"%yacc\"", "\"%debug\"",
+ "\"%locations\"", "\"%no-lines\"", "\"%skeleton\"", "\"%token-table\"",
+ "TYPE", "\"=\"", "\";\"", "\":\"", "\"|\"", "\"identifier\"", "\"%%\"",
+ "PROLOGUE", "EPILOGUE", "BRACED_CODE", "\"%left\"", "\"%right\"",
+ "\"%nonassoc\"", "$axiom", "input", "@1", "declarations", "declaration",
+ "grammar_declaration", "symbol_declaration", "@2", "@3", "@4",
+ "precedence_declaration", "@5", "precedence_declarator", "type.opt",
+ "nterms_to_type.1", "terms_to_prec.1", "symbol_def", "symbol_defs.1",
+ "grammar", "rules_or_grammar_declaration", "rules", "@6", "rhses.1",
+ "rhs", "symbol", "action", "string_as_id", "string_content",
+ "epilogue.opt", "semi_colon.opt", 0
+};
+#endif
+
+/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
+ token YYLEX-NUM. */
+static const short yytoknum[] =
+{
+ 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
+ 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
+ 275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
+ 285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
+ -1
+};
+
+/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
+static const unsigned char yyr1[] =
+{
+ 0, 40, 42, 41, 43, 43, 44, 44, 44, 44,
+ 44, 44, 44, 44, 44, 44, 44, 44, 44, 44,
+ 44, 44, 44, 45, 45, 45, 45, 47, 46, 48,
+ 46, 49, 46, 51, 50, 52, 52, 52, 53, 53,
+ 54, 54, 55, 55, 56, 56, 56, 56, 56, 57,
+ 57, 58, 58, 59, 59, 61, 60, 62, 62, 63,
+ 63, 63, 63, 64, 64, 64, 65, 66, 67, 68,
+ 68, 69, 69
+};
+
+/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
+static const unsigned char yyr2[] =
+{
+ 0, 2, 0, 5, 0, 3, 1, 1, 1, 3,
+ 1, 1, 2, 3, 1, 3, 1, 3, 1, 2,
+ 1, 1, 1, 1, 1, 2, 2, 0, 3, 0,
+ 3, 0, 4, 0, 4, 1, 1, 1, 0, 1,
+ 1, 2, 1, 2, 1, 1, 2, 2, 3, 1,
+ 2, 1, 2, 1, 2, 0, 5, 1, 3, 0,
+ 2, 2, 3, 1, 1, 1, 1, 1, 1, 0,
+ 2, 0, 1
+};
+
+/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
+ STATE-NUM when YYTABLE doesn't specify something else to do. Zero
+ means the default is an error. */
+static const short yydefact[] =
+{
+ 2, 0, 4, 0, 0, 29, 27, 0, 0, 0,
+ 0, 21, 11, 0, 0, 0, 0, 18, 10, 22,
+ 8, 14, 16, 0, 20, 0, 7, 35, 36, 37,
+ 71, 6, 24, 23, 38, 0, 0, 31, 26, 12,
+ 67, 65, 63, 25, 64, 0, 0, 0, 68, 0,
+ 19, 0, 0, 69, 51, 53, 72, 5, 39, 33,
+ 44, 45, 49, 30, 28, 0, 17, 13, 15, 9,
+ 55, 54, 0, 52, 3, 0, 46, 47, 50, 40,
+ 32, 59, 70, 34, 42, 48, 41, 0, 57, 43,
+ 56, 59, 0, 66, 60, 61, 58, 62
+};
+
+/* YYPGOTO[NTERM-NUM]. */
+static const short yydefgoto[] =
+{
+ -1, 1, 2, 4, 30, 52, 32, 36, 35, 65,
+ 33, 75, 34, 59, 80, 83, 62, 63, 53, 54,
+ 55, 81, 87, 88, 94, 95, 44, 49, 74, 57
+};
+
+/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
+ STATE-NUM. */
+static const short yypact[] =
+{
+ -32768, 7,-32768,-32768, -5,-32768,-32768, -1, 11, 51,
+ 38,-32768,-32768, 36, 43, 44, 66,-32768,-32768,-32768,
+ -32768,-32768,-32768, 66,-32768, 29,-32768,-32768,-32768,-32768,
+ 45,-32768,-32768,-32768, 48, 18, 18,-32768,-32768,-32768,
+ -32768,-32768,-32768,-32768,-32768, 66, 66, 66,-32768, 66,
+ -32768, 46, 49, 16,-32768,-32768,-32768,-32768,-32768,-32768,
+ -32768, 41,-32768, 18, 18, 52,-32768,-32768,-32768,-32768,
+ -32768,-32768, 42,-32768,-32768, 38, 82,-32768,-32768,-32768,
+ 54,-32768,-32768, 38,-32768,-32768,-32768, 31, 27,-32768,
+ -32768,-32768, 38,-32768,-32768,-32768, 27,-32768
+};
+
+/* YYPGOTO[NTERM-NUM]. */
+static const short yypgoto[] =
+{
+ -32768,-32768,-32768,-32768,-32768, 83,-32768,-32768,-32768,-32768,
+ -32768,-32768,-32768,-32768,-32768,-32768, -12, 53,-32768, 35,
+ -32768,-32768,-32768, 0, -10,-32768, -18, 34,-32768,-32768
+};
+
+/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
+ positive, shift that token. If negative, reduce the rule which
+ number is the opposite. If zero, do what YYDEFACT says. */
+static const short yytable[] =
+{
+ 43, 5, 6, 7, 8, 9, 10, 3, 11, 12,
+ 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
+ 23, 24, 5, 6, 7, 8, 37, 10, 25, 26,
+ 40, 41, 27, 28, 29, 5, 6, 7, 8, 92,
+ 10, 40, 41, 77, 40, 60, 76, 38, 51, 72,
+ 61, 78, 78, 27, 28, 29, 39, 50, 85, 42,
+ 90, 51, 91, 93, 45, 84, 27, 28, 29, 48,
+ 42, 46, 47, 89, 56, 58, 70, 82, 71, 66,
+ 67, 68, 97, 69, 79, 40, 86, 31, 73, 64,
+ 0, 96
+};
+
+static const short yycheck[] =
+{
+ 10, 6, 7, 8, 9, 10, 11, 0, 13, 14,
+ 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
+ 25, 26, 6, 7, 8, 9, 27, 11, 33, 34,
+ 3, 4, 37, 38, 39, 6, 7, 8, 9, 12,
+ 11, 3, 4, 61, 3, 27, 5, 36, 32, 33,
+ 32, 63, 64, 37, 38, 39, 5, 23, 76, 32,
+ 29, 32, 31, 36, 28, 75, 37, 38, 39, 3,
+ 32, 28, 28, 83, 29, 27, 30, 35, 29, 45,
+ 46, 47, 92, 49, 32, 3, 32, 4, 53, 36,
+ -1, 91
+};
+
+#if YYDEBUG
+/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
+ symbol of state STATE-NUM. */
+static const unsigned char yystos[] =
+{
+ 0, 41, 42, 0, 43, 6, 7, 8, 9, 10,
+ 11, 13, 14, 15, 16, 17, 18, 19, 20, 21,
+ 22, 23, 24, 25, 26, 33, 34, 37, 38, 39,
+ 44, 45, 46, 50, 52, 48, 47, 27, 36, 5,
+ 3, 4, 32, 64, 66, 28, 28, 28, 3, 67,
+ 67, 32, 45, 58, 59, 60, 29, 69, 27, 53,
+ 27, 32, 56, 57, 57, 49, 67, 67, 67, 67,
+ 30, 29, 33, 59, 68, 51, 5, 66, 56, 32,
+ 54, 61, 35, 55, 64, 66, 32, 62, 63, 64,
+ 29, 31, 12, 36, 64, 65, 63, 64
+};
+#endif