1 /* A Bison parser, made from parse-gram.y
4 /* Skeleton output parser for Bison,
5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA. */
23 /* As a special exception, when this file is copied by Bison into a
24 Bison output file, you may use that output file without restriction.
25 This special exception was added by the Free Software Foundation
26 in version 1.24 of Bison. */
28 /* This is the parser code that is written into each bison parser when
29 the %semantic_parser declaration is not specified in the grammar.
30 It was written by Richard Stallman by simplifying the original so
31 called ``semantic'' parser. */
33 /* All symbols defined below should begin with yy or YY, to avoid
34 infringing on user name space. This should be done even for local
35 variables, as they might otherwise be expanded by user macros.
36 There are some unavoidable exceptions within include files to
37 define necessary library symbols; they are noted "INFRINGES ON
38 USER NAME SPACE" below. */
40 /* Identify Bison output. */
46 /* Using locations. */
47 #define YYLSP_NEEDED 1
49 /* If NAME_PREFIX is specified substitute the variables and functions
51 #define yyparse gram_parse
52 #define yylex gram_lex
53 #define yyerror gram_error
54 #define yylval gram_lval
55 #define yychar gram_char
56 #define yydebug gram_debug
57 #define yynerrs gram_nerrs
59 # define yylloc gram_lloc
63 /* Copy the first part of user declarations. */
64 #line 31 "parse-gram.y"
67 #include "muscle_tab.h"
73 #include "conflicts.h"
75 #define YYERROR_VERBOSE 1
77 /* Pass the control structure to YYPARSE and YYLEX. */
78 #define YYPARSE_PARAM gram_control
79 #define YYLEX_PARAM gram_control
80 /* YYPARSE receives GRAM_CONTROL as a void *. Provide a
81 correctly typed access to it. */
82 #define yycontrol ((gram_control_t *) gram_control)
84 /* Request detailed parse error messages, and pass them to
87 #define yyerror(Msg) \
88 gram_error (yycontrol, &yylloc, Msg)
90 /* When debugging our pure parser, we want to see values and locations
92 #define YYPRINT(File, Type, Value) \
93 yyprint (File, &yylloc, Type, &Value)
94 static void yyprint (FILE *file
, const yyltype
*loc
,
95 int type
, const yystype
*value
);
97 symbol_class current_class
= unknown_sym
;
98 char *current_type
= 0;
99 symbol_t
*current_lhs
;
100 associativity current_assoc
;
101 int current_prec
= 0;
106 # if defined (__STDC__) || defined (__cplusplus)
107 /* Put the tokens into the symbol table, so that GDB and other debuggers
118 PERCENT_EXPECT
= 265,
122 PERCENT_NONASSOC
= 269,
124 PERCENT_VERBOSE
= 271,
125 PERCENT_ERROR_VERBOSE
= 272,
126 PERCENT_OUTPUT
= 273,
127 PERCENT_FILE_PREFIX
= 274,
128 PERCENT_NAME_PREFIX
= 275,
129 PERCENT_DEFINE
= 276,
130 PERCENT_PURE_PARSER
= 277,
131 PERCENT_DEFINES
= 278,
134 PERCENT_LOCATIONS
= 281,
135 PERCENT_NO_LINES
= 282,
136 PERCENT_SKELETON
= 283,
137 PERCENT_TOKEN_TABLE
= 284,
144 PERCENT_PERCENT
= 291,
150 /* POSIX requires `int' for tokens in interfaces. */
151 # define YYTOKENTYPE int
152 #endif /* !YYTOKENTYPE */
155 #define CHARACTER 259
157 #define PERCENT_TOKEN 261
158 #define PERCENT_NTERM 262
159 #define PERCENT_TYPE 263
160 #define PERCENT_UNION 264
161 #define PERCENT_EXPECT 265
162 #define PERCENT_START 266
163 #define PERCENT_LEFT 267
164 #define PERCENT_RIGHT 268
165 #define PERCENT_NONASSOC 269
166 #define PERCENT_PREC 270
167 #define PERCENT_VERBOSE 271
168 #define PERCENT_ERROR_VERBOSE 272
169 #define PERCENT_OUTPUT 273
170 #define PERCENT_FILE_PREFIX 274
171 #define PERCENT_NAME_PREFIX 275
172 #define PERCENT_DEFINE 276
173 #define PERCENT_PURE_PARSER 277
174 #define PERCENT_DEFINES 278
175 #define PERCENT_YACC 279
176 #define PERCENT_DEBUG 280
177 #define PERCENT_LOCATIONS 281
178 #define PERCENT_NO_LINES 282
179 #define PERCENT_SKELETON 283
180 #define PERCENT_TOKEN_TABLE 284
183 #define SEMICOLON 287
187 #define PERCENT_PERCENT 291
190 #define BRACED_CODE 294
195 /* Enabling traces. */
200 /* Enabling verbose error messages. */
201 #ifdef YYERROR_VERBOSE
202 # undef YYERROR_VERBOSE
203 # define YYERROR_VERBOSE 1
205 # define YYERROR_VERBOSE 0
209 #line 73 "parse-gram.y"
216 # define YYSTYPE yystype
217 # define YYSTYPE_IS_TRIVIAL 1
221 typedef struct yyltype
228 # define YYLTYPE yyltype
229 # define YYLTYPE_IS_TRIVIAL 1
232 /* Copy the second part of user declarations. */
235 /* Line 217 of /usr/local/share/bison/bison.simple. */
236 #line 237 "parse-gram.c"
238 #if ! defined (yyoverflow) || YYERROR_VERBOSE
240 /* The parser invokes alloca or malloc; define the necessary symbols. */
242 # if YYSTACK_USE_ALLOCA
243 # define YYSTACK_ALLOC alloca
245 # ifndef YYSTACK_USE_ALLOCA
246 # if defined (alloca) || defined (_ALLOCA_H)
247 # define YYSTACK_ALLOC alloca
250 # define YYSTACK_ALLOC __builtin_alloca
256 # ifdef YYSTACK_ALLOC
257 /* Pacify GCC's `empty if-body' warning. */
258 # define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
260 # if defined (__STDC__) || defined (__cplusplus)
261 # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
262 # define YYSIZE_T size_t
264 # define YYSTACK_ALLOC malloc
265 # define YYSTACK_FREE free
267 #endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */
270 #if (! defined (yyoverflow) \
271 && (! defined (__cplusplus) \
272 || (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
274 /* A type that is properly aligned for any stack member. */
284 /* The size of the maximum gap between one aligned stack and the next. */
285 # define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1)
287 /* The size of an array large to enough to hold all stacks, each with
290 # define YYSTACK_BYTES(N) \
291 ((N) * (sizeof (short) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \
292 + 2 * YYSTACK_GAP_MAX)
294 # define YYSTACK_BYTES(N) \
295 ((N) * (sizeof (short) + sizeof (YYSTYPE)) \
299 /* Copy COUNT objects from FROM to TO. The source and destination do
303 # define YYCOPY(To, From, Count) \
304 __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
306 # define YYCOPY(To, From, Count) \
309 register YYSIZE_T yyi; \
310 for (yyi = 0; yyi < (Count); yyi++) \
311 (To)[yyi] = (From)[yyi]; \
317 /* Relocate STACK from its old location to the new one. The
318 local variables YYSIZE and YYSTACKSIZE give the old and new number of
319 elements in the stack, and YYPTR gives the new location of the
320 stack. Advance YYPTR to a properly aligned location for the next
322 # define YYSTACK_RELOCATE(Stack) \
325 YYSIZE_T yynewbytes; \
326 YYCOPY (&yyptr->Stack, Stack, yysize); \
327 Stack = &yyptr->Stack; \
328 yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAX; \
329 yyptr += yynewbytes / sizeof (*yyptr); \
335 /* YYFINAL -- State number of the termination state. */
337 #define YYFLAG -32768
340 /* YYNTOKENS -- Number of terminals. */
342 /* YYNNTS -- Number of nonterminals. */
344 /* YYNRULES -- Number of rules. */
346 /* YYNRULES -- Number of states. */
349 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
351 #define YYMAXUTOK 294
353 #define YYTRANSLATE(X) \
354 ((unsigned)(X) <= YYMAXUTOK ? yytranslate[X] : YYUNDEFTOK)
356 /* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
357 static const unsigned char yytranslate
[] =
359 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
360 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
361 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
362 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
363 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
364 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
365 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
366 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
367 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
368 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
369 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
370 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
371 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
372 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
373 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
374 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
375 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
376 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
377 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
378 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
379 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
380 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
381 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
382 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
383 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
384 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
385 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
386 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
387 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
392 /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
394 static const unsigned char yyprhs
[] =
396 0, 0, 3, 4, 10, 11, 14, 16, 18, 20,
397 24, 26, 28, 31, 35, 37, 41, 43, 47, 49,
398 52, 54, 56, 58, 60, 61, 65, 68, 69, 73,
399 74, 79, 83, 84, 89, 91, 93, 95, 96, 98,
400 100, 103, 105, 108, 110, 112, 115, 118, 122, 124,
401 127, 129, 132, 133, 139, 141, 145, 146, 149, 152,
402 156, 158, 160, 162, 164, 166, 168, 169, 172, 173
405 /* YYRHS -- A `-1'-separated list of the rules' RHS. */
406 static const signed char yyrhs
[] =
408 41, 0, -1, -1, 42, 43, 36, 57, 66, -1,
409 -1, 43, 44, -1, 45, -1, 37, -1, 25, -1,
410 21, 65, 65, -1, 23, -1, 17, -1, 10, 5,
411 -1, 19, 31, 65, -1, 26, -1, 20, 31, 65,
412 -1, 27, -1, 18, 31, 65, -1, 22, -1, 28,
413 65, -1, 29, -1, 16, -1, 24, -1, 49, -1,
414 -1, 7, 46, 56, -1, 11, 62, -1, -1, 6,
415 47, 56, -1, -1, 8, 30, 48, 53, -1, 9,
416 39, 67, -1, -1, 51, 52, 50, 54, -1, 12,
417 -1, 13, -1, 14, -1, -1, 30, -1, 35, -1,
418 53, 35, -1, 62, -1, 54, 62, -1, 30, -1,
419 35, -1, 35, 5, -1, 35, 64, -1, 35, 5,
420 64, -1, 55, -1, 56, 55, -1, 58, -1, 57,
421 58, -1, -1, 35, 33, 59, 60, 32, -1, 61,
422 -1, 60, 34, 61, -1, -1, 61, 62, -1, 61,
423 63, -1, 61, 15, 62, -1, 35, -1, 64, -1,
424 4, -1, 39, -1, 3, -1, 3, -1, -1, 36,
428 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */
429 static const unsigned short yyrline
[] =
431 0, 131, 131, 131, 139, 141, 144, 146, 150, 151,
432 152, 153, 154, 155, 156, 157, 158, 159, 160, 161,
433 162, 163, 164, 167, 169, 169, 174, 178, 178, 183,
434 183, 187, 195, 195, 202, 204, 205, 208, 210, 214,
435 216, 220, 226, 235, 240, 245, 251, 257, 267, 270,
436 274, 276, 279, 279, 284, 286, 289, 292, 294, 296,
437 300, 302, 303, 306, 312, 321, 329, 334, 340, 342
441 #if YYDEBUG || YYERROR_VERBOSE
442 /* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
443 First, the terminals, then, starting at YYNTOKENS, nonterminals. */
444 static const char *const yytname
[] =
446 "\"end of string\"", "error", "$undefined.", "STRING", "CHARACTER", "INT",
447 "\"%token\"", "\"%nterm\"", "\"%type\"", "\"%union\"", "\"%expect\"",
448 "\"%start\"", "\"%left\"", "\"%right\"", "\"%nonassoc\"", "\"%prec\"",
449 "\"%verbose\"", "\"%error-verbose\"", "\"%output\"", "\"%file-prefix\"",
450 "\"%name-prefix\"", "\"%define\"", "\"%pure-parser\"", "\"%defines\"",
451 "\"%yacc\"", "\"%debug\"", "\"%locations\"", "\"%no-lines\"",
452 "\"%skeleton\"", "\"%token-table\"", "TYPE", "\"=\"", "\";\"", "\":\"",
453 "\"|\"", "\"identifier\"", "\"%%\"", "PROLOGUE", "EPILOGUE",
454 "BRACED_CODE", "$axiom", "input", "@1", "directives", "directive",
455 "grammar_directives", "@2", "@3", "@4", "precedence_directives", "@5",
456 "precedence_directive", "type.opt", "nterms_to_type.1",
457 "terms_to_prec.1", "symbol_def", "symbol_defs.1", "gram", "rules", "@6",
458 "rhses.1", "rhs", "symbol", "action", "string_as_id", "string_content",
459 "epilogue.opt", "semi_colon_opt", 0
463 /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
465 static const short yytoknum
[] =
467 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
468 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
469 275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
470 285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
474 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
475 static const unsigned char yyr1
[] =
477 0, 40, 42, 41, 43, 43, 44, 44, 44, 44,
478 44, 44, 44, 44, 44, 44, 44, 44, 44, 44,
479 44, 44, 44, 45, 46, 45, 45, 47, 45, 48,
480 45, 45, 50, 49, 51, 51, 51, 52, 52, 53,
481 53, 54, 54, 55, 55, 55, 55, 55, 56, 56,
482 57, 57, 59, 58, 60, 60, 61, 61, 61, 61,
483 62, 62, 62, 63, 64, 65, 66, 66, 67, 67
486 /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
487 static const unsigned char yyr2
[] =
489 0, 2, 0, 5, 0, 2, 1, 1, 1, 3,
490 1, 1, 2, 3, 1, 3, 1, 3, 1, 2,
491 1, 1, 1, 1, 0, 3, 2, 0, 3, 0,
492 4, 3, 0, 4, 1, 1, 1, 0, 1, 1,
493 2, 1, 2, 1, 1, 2, 2, 3, 1, 2,
494 1, 2, 0, 5, 1, 3, 0, 2, 2, 3,
495 1, 1, 1, 1, 1, 1, 0, 2, 0, 1
498 /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
499 STATE-NUM when YYTABLE doesn't specify something else to do. Zero
500 means the default is an error. */
501 static const short yydefact
[] =
503 2, 0, 4, 0, 0, 27, 24, 0, 0, 0,
504 0, 34, 35, 36, 21, 11, 0, 0, 0, 0,
505 18, 10, 22, 8, 14, 16, 0, 20, 0, 7,
506 5, 6, 23, 37, 0, 0, 29, 68, 12, 64,
507 62, 60, 26, 61, 0, 0, 0, 65, 0, 19,
508 0, 66, 50, 38, 32, 43, 44, 48, 28, 25,
509 0, 69, 31, 17, 13, 15, 9, 52, 0, 51,
510 3, 0, 45, 46, 49, 39, 30, 56, 67, 33,
511 41, 47, 40, 0, 54, 42, 53, 56, 0, 63,
515 /* YYPGOTO[NTERM-NUM]. */
516 static const short yydefgoto
[] =
518 -1, 1, 2, 4, 30, 31, 35, 34, 60, 32,
519 71, 33, 54, 76, 79, 57, 58, 51, 52, 77,
520 83, 84, 90, 91, 43, 48, 70, 62
523 /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
525 static const short yypact
[] =
527 -32768, 9,-32768,-32768, 73,-32768,-32768, -19, -24, 12,
528 0,-32768,-32768,-32768,-32768,-32768, -5, -3, -1, 26,
529 -32768,-32768,-32768,-32768,-32768,-32768, 26,-32768, -4,-32768,
530 -32768,-32768,-32768, 2, -23, -23,-32768, 4,-32768,-32768,
531 -32768,-32768,-32768,-32768, 26, 26, 26,-32768, 26,-32768,
532 1, -17,-32768,-32768,-32768,-32768, 5,-32768, -23, -23,
533 3,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 6,-32768,
534 -32768, 0, 36,-32768,-32768,-32768, 7,-32768,-32768, 0,
535 -32768,-32768,-32768, -18, -2,-32768,-32768,-32768, 0,-32768,
536 -32768,-32768, -2,-32768
539 /* YYPGOTO[NTERM-NUM]. */
540 static const short yypgoto
[] =
542 -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
543 -32768,-32768,-32768,-32768,-32768, -38, 8,-32768, -11,-32768,
544 -32768, -46, -10,-32768, -50, -21,-32768,-32768
547 /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
548 positive, shift that token. If negative, reduce the rule which
549 number is the opposite. If zero, do what YYDEFACT says. */
550 static const short yytable
[] =
552 42, 39, 40, 39, 40, 49, 73, 55, 39, 3,
553 72, 36, 56, 88, 86, 37, 87, 38, 50, 68,
554 74, 74, 81, 63, 64, 65, 44, 66, 45, 47,
555 46, 50, 53, 41, 67, 41, 61, 89, 75, 39,
556 69, 92, 82, 59, 78, 0, 0, 0, 0, 0,
557 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
558 0, 80, 0, 0, 0, 0, 0, 0, 0, 85,
559 0, 0, 0, 0, 0, 0, 0, 0, 93, 5,
560 6, 7, 8, 9, 10, 11, 12, 13, 0, 14,
561 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
562 25, 26, 27, 0, 0, 0, 0, 0, 0, 28,
566 static const short yycheck
[] =
568 10, 3, 4, 3, 4, 26, 56, 30, 3, 0,
569 5, 30, 35, 15, 32, 39, 34, 5, 35, 36,
570 58, 59, 72, 44, 45, 46, 31, 48, 31, 3,
571 31, 35, 30, 35, 33, 35, 32, 39, 35, 3,
572 51, 87, 35, 35, 38, -1, -1, -1, -1, -1,
573 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
574 -1, 71, -1, -1, -1, -1, -1, -1, -1, 79,
575 -1, -1, -1, -1, -1, -1, -1, -1, 88, 6,
576 7, 8, 9, 10, 11, 12, 13, 14, -1, 16,
577 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
578 27, 28, 29, -1, -1, -1, -1, -1, -1, 36,
583 /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
584 symbol of state STATE-NUM. */
585 static const unsigned char yystos
[] =
587 0, 41, 42, 0, 43, 6, 7, 8, 9, 10,
588 11, 12, 13, 14, 16, 17, 18, 19, 20, 21,
589 22, 23, 24, 25, 26, 27, 28, 29, 36, 37,
590 44, 45, 49, 51, 47, 46, 30, 39, 5, 3,
591 4, 35, 62, 64, 31, 31, 31, 3, 65, 65,
592 35, 57, 58, 30, 52, 30, 35, 55, 56, 56,
593 48, 32, 67, 65, 65, 65, 65, 33, 36, 58,
594 66, 50, 5, 64, 55, 35, 53, 59, 38, 54,
595 62, 64, 35, 60, 61, 62, 32, 34, 15, 39,
600 #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
601 # define YYSIZE_T __SIZE_TYPE__
603 #if ! defined (YYSIZE_T) && defined (size_t)
604 # define YYSIZE_T size_t
606 #if ! defined (YYSIZE_T)
607 # if defined (__STDC__) || defined (__cplusplus)
608 # include <stddef.h> /* INFRINGES ON USER NAME SPACE */
609 # define YYSIZE_T size_t
612 #if ! defined (YYSIZE_T)
613 # define YYSIZE_T unsigned int
616 #define yyerrok (yyerrstatus = 0)
617 #define yyclearin (yychar = YYEMPTY)
621 #define YYACCEPT goto yyacceptlab
622 #define YYABORT goto yyabortlab
623 #define YYERROR goto yyerrlab1
625 /* Like YYERROR except do call yyerror. This remains here temporarily
626 to ease the transition to the new meaning of YYERROR, for GCC.
627 Once GCC version 2 has supplanted version 1, this can go. */
629 #define YYFAIL goto yyerrlab
631 #define YYRECOVERING() (!!yyerrstatus)
633 #define YYBACKUP(Token, Value) \
635 if (yychar == YYEMPTY && yylen == 1) \
639 yychar1 = YYTRANSLATE (yychar); \
645 yyerror ("syntax error: cannot back up"); \
651 #define YYERRCODE 256
653 /* YYLLOC_DEFAULT -- Compute the default location (before the actions
656 #ifndef YYLLOC_DEFAULT
657 # define YYLLOC_DEFAULT(Current, Rhs, N) \
658 Current.first_line = Rhs[1].first_line; \
659 Current.first_column = Rhs[1].first_column; \
660 Current.last_line = Rhs[N].last_line; \
661 Current.last_column = Rhs[N].last_column;
664 /* YYLEX -- calling `yylex' with the right arguments. */
669 # define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM)
671 # define YYLEX yylex (&yylval, &yylloc)
673 # else /* !YYLSP_NEEDED */
675 # define YYLEX yylex (&yylval, YYLEX_PARAM)
677 # define YYLEX yylex (&yylval)
679 # endif /* !YYLSP_NEEDED */
681 # define YYLEX yylex ()
684 /* Enable debugging if requested. */
688 # include <stdio.h> /* INFRINGES ON USER NAME SPACE */
689 # define YYFPRINTF fprintf
692 # define YYDPRINTF(Args) \
697 /* Nonzero means print parse trace. It is left uninitialized so that
698 multiple parsers can coexist. */
701 # define YYDPRINTF(Args)
702 #endif /* !YYDEBUG */
704 /* YYINITDEPTH -- initial size of the parser's stacks. */
706 # define YYINITDEPTH 200
709 /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
710 if the built-in stack extension method is used).
712 Do not make this value too large; the results are undefined if
713 SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH)
714 evaluated with infinite-precision integer arithmetic. */
721 # define YYMAXDEPTH 10000
729 # if defined (__GLIBC__) && defined (_STRING_H)
730 # define yystrlen strlen
732 /* Return the length of YYSTR. */
734 # if defined (__STDC__) || defined (__cplusplus)
735 yystrlen (const char *yystr
)
741 register const char *yys
= yystr
;
743 while (*yys
++ != '\0')
746 return yys
- yystr
- 1;
752 # if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE)
753 # define yystpcpy stpcpy
755 /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
758 # if defined (__STDC__) || defined (__cplusplus)
759 yystpcpy (char *yydest
, const char *yysrc
)
761 yystpcpy (yydest
, yysrc
)
766 register char *yyd
= yydest
;
767 register const char *yys
= yysrc
;
769 while ((*yyd
++ = *yys
++) != '\0')
777 #endif /* !YYERROR_VERBOSE */
781 /* The user can define YYPARSE_PARAM as the name of an argument to be passed
782 into yyparse. The argument should have type void *.
783 It should actually point to an object.
784 Grammar actions can access the variable by casting it
785 to the proper pointer type. */
788 # if defined (__STDC__) || defined (__cplusplus)
789 # define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
790 # define YYPARSE_PARAM_DECL
792 # define YYPARSE_PARAM_ARG YYPARSE_PARAM
793 # define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
795 #else /* !YYPARSE_PARAM */
796 # define YYPARSE_PARAM_ARG
797 # define YYPARSE_PARAM_DECL
798 #endif /* !YYPARSE_PARAM */
800 /* Prevent warning if -Wstrict-prototypes. */
802 # ifdef YYPARSE_PARAM
803 int yyparse (void *);
809 /* YY_DECL_VARIABLES -- depending whether we use a pure parser,
810 variables are global, or local to YYPARSE. */
812 #define YY_DECL_NON_LSP_VARIABLES \
813 /* The lookahead symbol. */ \
816 /* The semantic value of the lookahead symbol. */ \
819 /* Number of parse errors so far. */ \
823 # define YY_DECL_VARIABLES \
824 YY_DECL_NON_LSP_VARIABLES \
826 /* Location data for the lookahead symbol. */ \
829 # define YY_DECL_VARIABLES \
830 YY_DECL_NON_LSP_VARIABLES
833 /* If nonreentrant, generate the variables here. */
840 yyparse (YYPARSE_PARAM_ARG
)
843 /* If reentrant, generate the variables here. */
848 register int yystate
;
851 /* Number of tokens to shift before error messages enabled. */
853 /* Lookahead token as an internal (translated) token number. */
856 /* Three stacks and their tools:
857 `yyss': related to states,
858 `yyvs': related to semantic values,
859 `yyls': related to locations.
861 Refer to the stacks thru separate pointers, to allow yyoverflow
862 to reallocate them elsewhere. */
864 /* The state stack. */
865 short yyssa
[YYINITDEPTH
];
867 register short *yyssp
;
869 /* The semantic value stack. */
870 YYSTYPE yyvsa
[YYINITDEPTH
];
871 YYSTYPE
*yyvs
= yyvsa
;
872 register YYSTYPE
*yyvsp
;
875 /* The location stack. */
876 YYLTYPE yylsa
[YYINITDEPTH
];
877 YYLTYPE
*yyls
= yylsa
;
882 # define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
884 # define YYPOPSTACK (yyvsp--, yyssp--)
887 YYSIZE_T yystacksize
= YYINITDEPTH
;
889 /* The variables used to return semantic value and location from the
896 /* When reducing, the number of symbols on the RHS of the reduced
900 YYDPRINTF ((stderr
, "Starting parse\n"));
905 yychar
= YYEMPTY
; /* Cause a token to be read. */
907 /* Initialize stack pointers.
908 Waste one element of value and location stack
909 so that they stay on the same level as the state stack.
910 The wasted elements are never initialized. */
919 /*------------------------------------------------------------.
920 | yynewstate -- Push a new state, which is found in yystate. |
921 `------------------------------------------------------------*/
923 /* In all cases, when you get here, the value and location stacks
924 have just been pushed. so pushing a state here evens the stacks.
931 if (yyssp
>= yyss
+ yystacksize
- 1)
933 /* Get the current used size of the three stacks, in elements. */
934 YYSIZE_T yysize
= yyssp
- yyss
+ 1;
938 /* Give user a chance to reallocate the stack. Use copies of
939 these so that the &'s don't force the real ones into
941 YYSTYPE
*yyvs1
= yyvs
;
944 /* Each stack pointer address is followed by the size of the
945 data in use in that stack, in bytes. */
947 YYLTYPE
*yyls1
= yyls
;
948 /* This used to be a conditional around just the two extra args,
949 but that might be undefined if yyoverflow is a macro. */
950 yyoverflow ("parser stack overflow",
951 &yyss1
, yysize
* sizeof (*yyssp
),
952 &yyvs1
, yysize
* sizeof (*yyvsp
),
953 &yyls1
, yysize
* sizeof (*yylsp
),
957 yyoverflow ("parser stack overflow",
958 &yyss1
, yysize
* sizeof (*yyssp
),
959 &yyvs1
, yysize
* sizeof (*yyvsp
),
965 #else /* no yyoverflow */
966 # ifndef YYSTACK_RELOCATE
969 /* Extend the stack our own way. */
970 if (yystacksize
>= YYMAXDEPTH
)
973 if (yystacksize
> YYMAXDEPTH
)
974 yystacksize
= YYMAXDEPTH
;
978 union yyalloc
*yyptr
=
979 (union yyalloc
*) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize
));
982 YYSTACK_RELOCATE (yyss
);
983 YYSTACK_RELOCATE (yyvs
);
985 YYSTACK_RELOCATE (yyls
);
987 # undef YYSTACK_RELOCATE
989 YYSTACK_FREE (yyss1
);
992 #endif /* no yyoverflow */
994 yyssp
= yyss
+ yysize
- 1;
995 yyvsp
= yyvs
+ yysize
- 1;
997 yylsp
= yyls
+ yysize
- 1;
1000 YYDPRINTF ((stderr
, "Stack size increased to %lu\n",
1001 (unsigned long int) yystacksize
));
1003 if (yyssp
>= yyss
+ yystacksize
- 1)
1007 YYDPRINTF ((stderr
, "Entering state %d\n", yystate
));
1016 /* Do appropriate processing given the current state. */
1017 /* Read a lookahead token if we need one and don't already have one. */
1020 /* First try to decide what to do without reference to lookahead token. */
1022 yyn
= yypact
[yystate
];
1026 /* Not known => get a lookahead token if don't already have one. */
1028 /* yychar is either YYEMPTY or YYEOF
1029 or a valid token in external form. */
1031 if (yychar
== YYEMPTY
)
1033 YYDPRINTF ((stderr
, "Reading a token: "));
1037 /* Convert token to internal form (in yychar1) for indexing tables with. */
1039 if (yychar
<= 0) /* This means end of input. */
1042 yychar
= YYEOF
; /* Don't call YYLEX any more. */
1044 YYDPRINTF ((stderr
, "Now at end of input.\n"));
1048 yychar1
= YYTRANSLATE (yychar
);
1051 /* We have to keep this `#if YYDEBUG', since we use variables
1052 which are defined only if `YYDEBUG' is set. */
1055 YYFPRINTF (stderr
, "Next token is %d (%s",
1056 yychar
, yytname
[yychar1
]);
1057 /* Give the individual parser a way to print the precise
1058 meaning of a token, for further debugging info. */
1060 YYPRINT (stderr
, yychar
, yylval
);
1062 YYFPRINTF (stderr
, ")\n");
1068 if (yyn
< 0 || yyn
> YYLAST
|| yycheck
[yyn
] != yychar1
)
1073 /* yyn is what to do for this token type in this state.
1074 Negative => reduce, -yyn is rule number.
1075 Positive => shift, yyn is new state.
1076 New state is final state => don't bother to shift,
1077 just return success.
1078 0, or most negative number => error. */
1093 /* Shift the lookahead token. */
1094 YYDPRINTF ((stderr
, "Shifting token %d (%s), ",
1095 yychar
, yytname
[yychar1
]));
1097 /* Discard the token being shifted unless it is eof. */
1098 if (yychar
!= YYEOF
)
1106 /* Count tokens shifted since error; after three, turn off error
1115 /*-----------------------------------------------------------.
1116 | yydefault -- do the default action for the current state. |
1117 `-----------------------------------------------------------*/
1119 yyn
= yydefact
[yystate
];
1125 /*-----------------------------.
1126 | yyreduce -- Do a reduction. |
1127 `-----------------------------*/
1129 /* yyn is the number of a rule to reduce with. */
1132 /* If YYLEN is nonzero, implement the default value of the action:
1135 Otherwise, the following line sets YYVAL to the semantic value of
1136 the lookahead token. This behavior is undocumented and Bison
1137 users should not rely upon it. Assigning to YYVAL
1138 unconditionally makes the parser a bit smaller, and it avoids a
1139 GCC warning that YYVAL may be used uninitialized. */
1140 yyval
= yyvsp
[1-yylen
];
1143 /* Default location. */
1144 YYLLOC_DEFAULT (yyloc
, (yylsp
- yylen
), yylen
);
1148 /* We have to keep this `#if YYDEBUG', since we use variables which
1149 are defined only if `YYDEBUG' is set. */
1154 YYFPRINTF (stderr
, "Reducing via rule %d (line %d), ",
1155 yyn
- 1, yyrline
[yyn
]);
1157 /* Print the symbols being reduced, and their result. */
1158 for (yyi
= yyprhs
[yyn
]; yyrhs
[yyi
] >= 0; yyi
++)
1159 YYFPRINTF (stderr
, "%s ", yytname
[yyrhs
[yyi
]]);
1160 YYFPRINTF (stderr
, " -> %s\n", yytname
[yyr1
[yyn
]]);
1166 #line 131 "parse-gram.y"
1167 { LOCATION_RESET (yylloc
); }
1171 #line 133 "parse-gram.y"
1173 yycontrol
->errcode
= 0;
1174 epilogue_set (yyvsp
[0].string
, yylsp
[0].first_line
);
1179 #line 147 "parse-gram.y"
1181 prologue_augment (yyvsp
[0].string
, yylsp
[0].first_line
);
1186 #line 150 "parse-gram.y"
1191 #line 151 "parse-gram.y"
1192 { muscle_insert (yyvsp
[-1].string
, yyvsp
[0].string
); }
1196 #line 152 "parse-gram.y"
1197 { defines_flag
= 1; }
1201 #line 153 "parse-gram.y"
1202 { error_verbose
= 1; }
1206 #line 154 "parse-gram.y"
1207 { expected_conflicts
= yyvsp
[0].integer
; }
1211 #line 155 "parse-gram.y"
1212 { spec_file_prefix
= yyvsp
[0].string
; }
1216 #line 156 "parse-gram.y"
1217 { locations_flag
= 1; }
1221 #line 157 "parse-gram.y"
1222 { spec_name_prefix
= yyvsp
[0].string
; }
1226 #line 158 "parse-gram.y"
1227 { no_lines_flag
= 1; }
1231 #line 159 "parse-gram.y"
1232 { spec_outfile
= yyvsp
[0].string
; }
1236 #line 160 "parse-gram.y"
1237 { pure_parser
= 1; }
1241 #line 161 "parse-gram.y"
1242 { skeleton
= yyvsp
[0].string
; }
1246 #line 162 "parse-gram.y"
1247 { token_table_flag
= 1; }
1251 #line 163 "parse-gram.y"
1252 { report_flag
= 1; }
1256 #line 164 "parse-gram.y"
1261 #line 169 "parse-gram.y"
1262 { current_class
= nterm_sym
; }
1266 #line 170 "parse-gram.y"
1268 current_class
= unknown_sym
;
1269 current_type
= NULL
;
1274 #line 175 "parse-gram.y"
1276 grammar_start_symbol_set (yyvsp
[0].symbol
);
1281 #line 178 "parse-gram.y"
1282 { current_class
= token_sym
; }
1286 #line 179 "parse-gram.y"
1288 current_class
= unknown_sym
;
1289 current_type
= NULL
;
1294 #line 183 "parse-gram.y"
1295 {current_type
= yyvsp
[0].string
; }
1299 #line 184 "parse-gram.y"
1301 current_type
= NULL
;
1306 #line 188 "parse-gram.y"
1309 MUSCLE_INSERT_INT ("stype_line", yylsp
[-1].first_line
);
1310 muscle_insert ("stype", yyvsp
[-1].string
);
1315 #line 197 "parse-gram.y"
1316 { current_assoc
= yyvsp
[-1].assoc
; ++current_prec
; }
1320 #line 199 "parse-gram.y"
1321 { current_assoc
= non_assoc
; current_type
= NULL
; }
1325 #line 203 "parse-gram.y"
1326 { yyval
.assoc
= left_assoc
; }
1330 #line 204 "parse-gram.y"
1331 { yyval
.assoc
= right_assoc
; }
1335 #line 205 "parse-gram.y"
1336 { yyval
.assoc
= non_assoc
; }
1340 #line 209 "parse-gram.y"
1341 { current_type
= NULL
;}
1345 #line 210 "parse-gram.y"
1346 { current_type
= yyvsp
[0].string
; }
1350 #line 215 "parse-gram.y"
1351 { symbol_type_set (yyvsp
[0].symbol
, current_type
); }
1355 #line 216 "parse-gram.y"
1356 { symbol_type_set (yyvsp
[0].symbol
, current_type
); }
1360 #line 222 "parse-gram.y"
1362 symbol_type_set (yyvsp
[0].symbol
, current_type
);
1363 symbol_precedence_set (yyvsp
[0].symbol
, current_prec
, current_assoc
);
1368 #line 227 "parse-gram.y"
1370 symbol_type_set (yyvsp
[0].symbol
, current_type
);
1371 symbol_precedence_set (yyvsp
[0].symbol
, current_prec
, current_assoc
);
1376 #line 237 "parse-gram.y"
1378 current_type
= yyvsp
[0].string
;
1383 #line 241 "parse-gram.y"
1385 symbol_class_set (yyvsp
[0].symbol
, current_class
);
1386 symbol_type_set (yyvsp
[0].symbol
, current_type
);
1391 #line 246 "parse-gram.y"
1393 symbol_class_set (yyvsp
[-1].symbol
, current_class
);
1394 symbol_type_set (yyvsp
[-1].symbol
, current_type
);
1395 symbol_user_token_number_set (yyvsp
[-1].symbol
, yyvsp
[0].integer
);
1400 #line 252 "parse-gram.y"
1402 symbol_class_set (yyvsp
[-1].symbol
, current_class
);
1403 symbol_type_set (yyvsp
[-1].symbol
, current_type
);
1404 symbol_make_alias (yyvsp
[-1].symbol
, yyvsp
[0].symbol
);
1409 #line 258 "parse-gram.y"
1411 symbol_class_set (yyvsp
[-2].symbol
, current_class
);
1412 symbol_type_set (yyvsp
[-2].symbol
, current_type
);
1413 symbol_user_token_number_set (yyvsp
[-2].symbol
, yyvsp
[-1].integer
);
1414 symbol_make_alias (yyvsp
[-2].symbol
, yyvsp
[0].symbol
);
1419 #line 269 "parse-gram.y"
1424 #line 271 "parse-gram.y"
1429 #line 280 "parse-gram.y"
1430 { current_lhs
= yyvsp
[-1].symbol
; }
1434 #line 281 "parse-gram.y"
1439 #line 285 "parse-gram.y"
1440 { grammar_rule_end (); }
1444 #line 286 "parse-gram.y"
1445 { grammar_rule_end (); }
1449 #line 291 "parse-gram.y"
1450 { grammar_rule_begin (current_lhs
); }
1454 #line 293 "parse-gram.y"
1455 { grammar_current_rule_symbol_append (yyvsp
[0].symbol
); }
1459 #line 295 "parse-gram.y"
1460 { grammar_current_rule_action_append (yyvsp
[0].string
, yylsp
[0].first_line
); }
1464 #line 297 "parse-gram.y"
1465 { grammar_current_rule_prec_set (yyvsp
[0].symbol
); }
1469 #line 301 "parse-gram.y"
1470 { yyval
.symbol
= yyvsp
[0].symbol
; }
1474 #line 302 "parse-gram.y"
1475 { yyval
.symbol
= yyvsp
[0].symbol
; }
1479 #line 303 "parse-gram.y"
1480 { yyval
.symbol
= getsym (yyvsp
[0].string
); }
1484 #line 308 "parse-gram.y"
1485 { yyval
.string
= yyvsp
[0].string
; }
1489 #line 314 "parse-gram.y"
1491 yyval
.symbol
= getsym (yyvsp
[0].string
);
1492 symbol_class_set (yyval
.symbol
, token_sym
);
1497 #line 323 "parse-gram.y"
1499 yyval
.string
= yyvsp
[0].string
+ 1;
1500 yyval
.string
[strlen (yyval
.string
) - 1] = '\0';
1505 #line 331 "parse-gram.y"
1507 yyval
.string
= xstrdup ("");
1512 #line 335 "parse-gram.y"
1514 yyval
.string
= yyvsp
[0].string
;
1521 /* Line 1010 of /usr/local/share/bison/bison.simple. */
1522 #line 1523 "parse-gram.c"
1533 short *yyssp1
= yyss
- 1;
1534 YYFPRINTF (stderr
, "state stack now");
1535 while (yyssp1
!= yyssp
)
1536 YYFPRINTF (stderr
, " %d", *++yyssp1
);
1537 YYFPRINTF (stderr
, "\n");
1546 /* Now `shift' the result of the reduction. Determine what state
1547 that goes to, based on the state we popped back to and the rule
1548 number reduced by. */
1552 yystate
= yypgoto
[yyn
- YYNTOKENS
] + *yyssp
;
1553 if (yystate
>= 0 && yystate
<= YYLAST
&& yycheck
[yystate
] == *yyssp
)
1554 yystate
= yytable
[yystate
];
1556 yystate
= yydefgoto
[yyn
- YYNTOKENS
];
1561 /*------------------------------------.
1562 | yyerrlab -- here on detecting error |
1563 `------------------------------------*/
1565 /* If not already recovering from an error, report this error. */
1571 yyn
= yypact
[yystate
];
1573 if (yyn
> YYFLAG
&& yyn
< YYLAST
)
1575 YYSIZE_T yysize
= 0;
1580 /* Start YYX at -YYN if negative to avoid negative indexes in
1582 for (yyx
= yyn
< 0 ? -yyn
: 0;
1583 yyx
< (int) (sizeof (yytname
) / sizeof (char *)); yyx
++)
1584 if (yycheck
[yyx
+ yyn
] == yyx
)
1585 yysize
+= yystrlen (yytname
[yyx
]) + 15, yycount
++;
1586 yysize
+= yystrlen ("parse error, unexpected ") + 1;
1587 yysize
+= yystrlen (yytname
[YYTRANSLATE (yychar
)]);
1588 yymsg
= (char *) YYSTACK_ALLOC (yysize
);
1591 char *yyp
= yystpcpy (yymsg
, "parse error, unexpected ");
1592 yyp
= yystpcpy (yyp
, yytname
[YYTRANSLATE (yychar
)]);
1597 for (yyx
= yyn
< 0 ? -yyn
: 0;
1598 yyx
< (int) (sizeof (yytname
) / sizeof (char *));
1600 if (yycheck
[yyx
+ yyn
] == yyx
)
1602 const char *yyq
= ! yycount
? ", expecting " : " or ";
1603 yyp
= yystpcpy (yyp
, yyq
);
1604 yyp
= yystpcpy (yyp
, yytname
[yyx
]);
1609 YYSTACK_FREE (yymsg
);
1612 yyerror ("parse error; also virtual memory exhausted");
1615 #endif /* YYERROR_VERBOSE */
1616 yyerror ("parse error");
1621 /*----------------------------------------------------.
1622 | yyerrlab1 -- error raised explicitly by an action. |
1623 `----------------------------------------------------*/
1625 if (yyerrstatus
== 3)
1627 /* If just tried and failed to reuse lookahead token after an
1628 error, discard it. */
1630 /* Return failure if at end of input. */
1631 if (yychar
== YYEOF
)
1633 YYDPRINTF ((stderr
, "Discarding token %d (%s).\n",
1634 yychar
, yytname
[yychar1
]));
1638 /* Else will try to reuse lookahead token after shifting the error
1641 yyerrstatus
= 3; /* Each real token shifted decrements this. */
1645 yyn
= yypact
[yystate
];
1649 if (0 <= yyn
&& yyn
<= YYLAST
&& yycheck
[yyn
] == YYTERROR
)
1657 /* Pop the current state because it cannot handle the error token. */
1664 if (yystos
[yystate
] < YYNTOKENS
)
1666 YYFPRINTF (stderr
, "Error: popping token %d (%s",
1667 yytoknum
[yystos
[yystate
]], yytname
[yystos
[yystate
]]);
1669 YYPRINT (stderr
, yytoknum
[yystos
[yystate
]], *yyvsp
);
1671 YYFPRINTF (stderr
, ")\n");
1675 YYFPRINTF (stderr
, "Error: popping nonterminal (%s)\n",
1676 yytname
[yystos
[yystate
]]);
1690 short *yyssp1
= yyss
- 1;
1691 YYFPRINTF (stderr
, "Error: state stack now");
1692 while (yyssp1
!= yyssp
)
1693 YYFPRINTF (stderr
, " %d", *++yyssp1
);
1694 YYFPRINTF (stderr
, "\n");
1702 YYDPRINTF ((stderr
, "Shifting error token, "));
1713 /*-------------------------------------.
1714 | yyacceptlab -- YYACCEPT comes here. |
1715 `-------------------------------------*/
1720 /*-----------------------------------.
1721 | yyabortlab -- YYABORT comes here. |
1722 `-----------------------------------*/
1727 /*---------------------------------------------.
1728 | yyoverflowab -- parser overflow comes here. |
1729 `---------------------------------------------*/
1731 yyerror ("parser stack overflow");
1738 YYSTACK_FREE (yyss
);
1743 #line 344 "parse-gram.y"
1745 /*------------------------------------------------------------------.
1746 | When debugging the parser, display tokens' locations and values. |
1747 `------------------------------------------------------------------*/
1750 yyprint (FILE *file
,
1751 const yyltype
*loc
, int type
, const yystype
*value
)
1754 LOCATION_PRINT (file
, *loc
);
1759 fprintf (file
, " = '%s'", value
->string
);
1763 fprintf (file
, " = %s", value
->symbol
->tag
);
1767 fprintf (file
, " = %d", value
->integer
);
1771 fprintf (file
, " = \"%s\"", value
->string
);
1775 fprintf (file
, " = <%s>", value
->string
);
1781 fprintf (file
, " = {{ %s }}", value
->string
);
1787 gram_error (gram_control_t
*control ATTRIBUTE_UNUSED
,
1788 yyltype
*yylloc
, const char *msg
)
1790 LOCATION_PRINT (stderr
, *yylloc
);
1791 fprintf (stderr
, ": %s\n", msg
);