]> git.saurik.com Git - bison.git/blame - src/parse-gram.h
* src/main.c (main): Invoke scanner_free.
[bison.git] / src / parse-gram.h
CommitLineData
2c569025
AD
1#ifndef BISON_PARSE_GRAM_H
2# define BISON_PARSE_GRAM_H
e96c9728 3
e9955c83 4#ifndef YYSTYPE
0c15323d
AD
5typedef union
6{
e9955c83
AD
7 symbol_t *symbol;
8 int integer;
9 char *string;
10 associativity assoc;
4cdb01db 11} yystype;
e9955c83 12# define YYSTYPE yystype
0c15323d 13# define YYSTYPE_IS_TRIVIAL 1
e9955c83
AD
14#endif
15
e9955c83
AD
16#ifndef YYLTYPE
17typedef struct yyltype
18{
19 int first_line;
20 int first_column;
0c15323d 21
e9955c83
AD
22 int last_line;
23 int last_column;
24} yyltype;
0c15323d 25
e9955c83 26# define YYLTYPE yyltype
0c15323d 27# define YYLTYPE_IS_TRIVIAL 1
e9955c83
AD
28#endif
29
0c15323d
AD
30# define GRAM_EOF 0
31# define STRING 257
32# define CHARACTER 258
33# define INT 259
34# define PERCENT_TOKEN 260
35# define PERCENT_NTERM 261
36# define PERCENT_TYPE 262
37# define PERCENT_UNION 263
38# define PERCENT_EXPECT 264
39# define PERCENT_START 265
40# define PERCENT_LEFT 266
41# define PERCENT_RIGHT 267
42# define PERCENT_NONASSOC 268
43# define PERCENT_PREC 269
44# define PERCENT_VERBOSE 270
45# define PERCENT_ERROR_VERBOSE 271
46# define PERCENT_OUTPUT 272
47# define PERCENT_FILE_PREFIX 273
48# define PERCENT_NAME_PREFIX 274
49# define PERCENT_DEFINE 275
50# define PERCENT_PURE_PARSER 276
51# define PERCENT_DEFINES 277
52# define PERCENT_YACC 278
53# define PERCENT_DEBUG 279
54# define PERCENT_LOCATIONS 280
55# define PERCENT_NO_LINES 281
56# define PERCENT_SKELETON 282
57# define PERCENT_TOKEN_TABLE 283
58# define TYPE 284
59# define EQUAL 285
60# define SEMICOLON 286
61# define COLON 287
62# define PIPE 288
63# define ID 289
64# define PERCENT_PERCENT 290
65# define PROLOGUE 291
66# define EPILOGUE 292
67# define BRACED_CODE 293
e9955c83
AD
68
69
2c569025 70#endif /* not BISON_PARSE_GRAM_H */