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