This commit is contained in:
Akim Demaille
2018-11-12 07:31:48 +01:00
parent 35b8e0e947
commit 4810ed8107
2 changed files with 616 additions and 622 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -51,11 +51,11 @@
extern int gram_debug; extern int gram_debug;
#endif #endif
/* "%code requires" blocks. */ /* "%code requires" blocks. */
#line 21 "src/parse-gram.y" /* yacc.c:1906 */ #line 21 "src/parse-gram.y" /* yacc.c:1905 */
#include "symlist.h" #include "symlist.h"
#include "symtab.h" #include "symtab.h"
#line 215 "src/parse-gram.y" /* yacc.c:1906 */ #line 214 "src/parse-gram.y" /* yacc.c:1905 */
typedef enum typedef enum
{ {
@@ -64,7 +64,7 @@ extern int gram_debug;
param_parse = 1 << 1, param_parse = 1 << 1,
param_both = param_lex | param_parse param_both = param_lex | param_parse
} param_type; } param_type;
#line 634 "src/parse-gram.y" /* yacc.c:1906 */ #line 627 "src/parse-gram.y" /* yacc.c:1905 */
#include "muscle-tab.h" #include "muscle-tab.h"
typedef struct typedef struct
@@ -73,7 +73,7 @@ extern int gram_debug;
muscle_kind kind; muscle_kind kind;
} value_type; } value_type;
#line 77 "src/parse-gram.h" /* yacc.c:1906 */ #line 77 "src/parse-gram.h" /* yacc.c:1905 */
/* Token type. */ /* Token type. */
#ifndef GRAM_TOKENTYPE #ifndef GRAM_TOKENTYPE
@@ -98,44 +98,43 @@ extern int gram_debug;
PERCENT_DEFAULT_PREC = 272, PERCENT_DEFAULT_PREC = 272,
PERCENT_DEFINE = 273, PERCENT_DEFINE = 273,
PERCENT_DEFINES = 274, PERCENT_DEFINES = 274,
PERCENT_ERROR_VERBOSE = 275, PERCENT_EXPECT = 275,
PERCENT_EXPECT = 276, PERCENT_EXPECT_RR = 276,
PERCENT_EXPECT_RR = 277, PERCENT_FLAG = 277,
PERCENT_FLAG = 278, PERCENT_FILE_PREFIX = 278,
PERCENT_FILE_PREFIX = 279, PERCENT_GLR_PARSER = 279,
PERCENT_GLR_PARSER = 280, PERCENT_INITIAL_ACTION = 280,
PERCENT_INITIAL_ACTION = 281, PERCENT_LANGUAGE = 281,
PERCENT_LANGUAGE = 282, PERCENT_NAME_PREFIX = 282,
PERCENT_NAME_PREFIX = 283, PERCENT_NO_DEFAULT_PREC = 283,
PERCENT_NO_DEFAULT_PREC = 284, PERCENT_NO_LINES = 284,
PERCENT_NO_LINES = 285, PERCENT_NONDETERMINISTIC_PARSER = 285,
PERCENT_NONDETERMINISTIC_PARSER = 286, PERCENT_OUTPUT = 286,
PERCENT_OUTPUT = 287, PERCENT_REQUIRE = 287,
PERCENT_REQUIRE = 288, PERCENT_SKELETON = 288,
PERCENT_SKELETON = 289, PERCENT_START = 289,
PERCENT_START = 290, PERCENT_TOKEN_TABLE = 290,
PERCENT_TOKEN_TABLE = 291, PERCENT_VERBOSE = 291,
PERCENT_VERBOSE = 292, PERCENT_YACC = 292,
PERCENT_YACC = 293, BRACED_CODE = 293,
BRACED_CODE = 294, BRACED_PREDICATE = 294,
BRACED_PREDICATE = 295, BRACKETED_ID = 295,
BRACKETED_ID = 296, CHAR = 296,
CHAR = 297, EPILOGUE = 297,
EPILOGUE = 298, EQUAL = 298,
EQUAL = 299, ID = 299,
ID = 300, ID_COLON = 300,
ID_COLON = 301, PERCENT_PERCENT = 301,
PERCENT_PERCENT = 302, PIPE = 302,
PIPE = 303, PROLOGUE = 303,
PROLOGUE = 304, SEMICOLON = 304,
SEMICOLON = 305, TAG = 305,
TAG = 306, TAG_ANY = 306,
TAG_ANY = 307, TAG_NONE = 307,
TAG_NONE = 308, INT = 308,
INT = 309, PERCENT_PARAM = 309,
PERCENT_PARAM = 310, PERCENT_UNION = 310,
PERCENT_UNION = 311, PERCENT_EMPTY = 311
PERCENT_EMPTY = 312
}; };
#endif #endif
@@ -162,11 +161,11 @@ union GRAM_STYPE
/* "integer" */ /* "integer" */
int INT; int INT;
/* named_ref.opt */ /* named_ref.opt */
named_ref* yytype_87; named_ref* yytype_86;
/* "%param" */ /* "%param" */
param_type PERCENT_PARAM; param_type PERCENT_PARAM;
/* symbol.prec */ /* symbol.prec */
symbol* yytype_74; symbol* yytype_73;
/* id */ /* id */
symbol* id; symbol* id;
/* id_colon */ /* id_colon */
@@ -176,9 +175,9 @@ union GRAM_STYPE
/* string_as_id */ /* string_as_id */
symbol* string_as_id; symbol* string_as_id;
/* symbols.prec */ /* symbols.prec */
symbol_list* yytype_73; symbol_list* yytype_72;
/* symbols.1 */ /* symbols.1 */
symbol_list* yytype_75; symbol_list* yytype_74;
/* generic_symlist */ /* generic_symlist */
symbol_list* generic_symlist; symbol_list* generic_symlist;
/* generic_symlist_item */ /* generic_symlist_item */
@@ -201,7 +200,7 @@ union GRAM_STYPE
unsigned char CHAR; unsigned char CHAR;
/* value */ /* value */
value_type value; value_type value;
#line 205 "src/parse-gram.h" /* yacc.c:1906 */ #line 204 "src/parse-gram.h" /* yacc.c:1905 */
}; };
typedef union GRAM_STYPE GRAM_STYPE; typedef union GRAM_STYPE GRAM_STYPE;