]> git.saurik.com Git - bison.git/blob - src/parse-gram.h
* src/parse-gram.y (YYPRINT, yyprint): Don't mess with the parser
[bison.git] / src / parse-gram.h
1 #ifndef BISON_PARSE_GRAM_H
2 # define BISON_PARSE_GRAM_H
3
4 /* Tokens. */
5 #ifndef YYTOKENTYPE
6 # if defined (__STDC__) || defined (__cplusplus)
7 /* Put the tokens into the symbol table, so that GDB and other debuggers
8 know about them. */
9 enum yytokentype {
10 GRAM_EOF = 0,
11 STRING = 258,
12 CHARACTER = 259,
13 INT = 260,
14 PERCENT_TOKEN = 261,
15 PERCENT_NTERM = 262,
16 PERCENT_TYPE = 263,
17 PERCENT_DESTRUCTOR = 264,
18 PERCENT_PRINTER = 265,
19 PERCENT_UNION = 266,
20 PERCENT_LEFT = 267,
21 PERCENT_RIGHT = 268,
22 PERCENT_NONASSOC = 269,
23 PERCENT_EXPECT = 270,
24 PERCENT_START = 271,
25 PERCENT_PREC = 272,
26 PERCENT_VERBOSE = 273,
27 PERCENT_ERROR_VERBOSE = 274,
28 PERCENT_OUTPUT = 275,
29 PERCENT_FILE_PREFIX = 276,
30 PERCENT_NAME_PREFIX = 277,
31 PERCENT_DEFINE = 278,
32 PERCENT_PURE_PARSER = 279,
33 PERCENT_DEFINES = 280,
34 PERCENT_YACC = 281,
35 PERCENT_DEBUG = 282,
36 PERCENT_LOCATIONS = 283,
37 PERCENT_NO_LINES = 284,
38 PERCENT_SKELETON = 285,
39 PERCENT_TOKEN_TABLE = 286,
40 TYPE = 287,
41 EQUAL = 288,
42 SEMICOLON = 289,
43 COLON = 290,
44 PIPE = 291,
45 ID = 292,
46 PERCENT_PERCENT = 293,
47 PROLOGUE = 294,
48 EPILOGUE = 295,
49 BRACED_CODE = 296
50 };
51 # endif
52 /* POSIX requires `int' for tokens in interfaces. */
53 # define YYTOKENTYPE int
54 #endif /* !YYTOKENTYPE */
55 #define GRAM_EOF 0
56 #define STRING 258
57 #define CHARACTER 259
58 #define INT 260
59 #define PERCENT_TOKEN 261
60 #define PERCENT_NTERM 262
61 #define PERCENT_TYPE 263
62 #define PERCENT_DESTRUCTOR 264
63 #define PERCENT_PRINTER 265
64 #define PERCENT_UNION 266
65 #define PERCENT_LEFT 267
66 #define PERCENT_RIGHT 268
67 #define PERCENT_NONASSOC 269
68 #define PERCENT_EXPECT 270
69 #define PERCENT_START 271
70 #define PERCENT_PREC 272
71 #define PERCENT_VERBOSE 273
72 #define PERCENT_ERROR_VERBOSE 274
73 #define PERCENT_OUTPUT 275
74 #define PERCENT_FILE_PREFIX 276
75 #define PERCENT_NAME_PREFIX 277
76 #define PERCENT_DEFINE 278
77 #define PERCENT_PURE_PARSER 279
78 #define PERCENT_DEFINES 280
79 #define PERCENT_YACC 281
80 #define PERCENT_DEBUG 282
81 #define PERCENT_LOCATIONS 283
82 #define PERCENT_NO_LINES 284
83 #define PERCENT_SKELETON 285
84 #define PERCENT_TOKEN_TABLE 286
85 #define TYPE 287
86 #define EQUAL 288
87 #define SEMICOLON 289
88 #define COLON 290
89 #define PIPE 291
90 #define ID 292
91 #define PERCENT_PERCENT 293
92 #define PROLOGUE 294
93 #define EPILOGUE 295
94 #define BRACED_CODE 296
95
96
97
98
99 #ifndef YYSTYPE
100 #line 88 "parse-gram.y"
101 typedef union {
102 symbol_t *symbol;
103 symbol_list_t *list;
104 int integer;
105 char *string;
106 associativity assoc;
107 } yystype;
108 /* Line 1331 of /usr/local/share/bison/bison.simple. */
109 #line 110 "y.tab.h"
110 # define YYSTYPE yystype
111 #endif
112
113
114
115 #ifndef YYLTYPE
116 typedef struct yyltype
117 {
118 int first_line;
119 int first_column;
120 int last_line;
121 int last_column;
122 } yyltype;
123 # define YYLTYPE yyltype
124 #endif
125
126
127
128 #endif /* not BISON_PARSE_GRAM_H */
129