]> git.saurik.com Git - bison.git/blob - src/parse-gram.h
Regenerate.
[bison.git] / src / parse-gram.h
1 /* A Bison parser, made from parse-gram.y, by GNU bison 1.49b. */
2
3 /* Skeleton parser for Yacc-like parsing with Bison,
4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
20
21 /* As a special exception, when this file is copied by Bison into a
22 Bison output file, you may use that output file without restriction.
23 This special exception was added by the Free Software Foundation
24 in version 1.24 of Bison. */
25
26 #ifndef BISON_PARSE_GRAM_H
27 # define BISON_PARSE_GRAM_H
28
29 /* Tokens. */
30 #ifndef YYTOKENTYPE
31 # if defined (__STDC__) || defined (__cplusplus)
32 /* Put the tokens into the symbol table, so that GDB and other debuggers
33 know about them. */
34 enum yytokentype {
35 GRAM_EOF = 0,
36 STRING = 258,
37 CHARACTER = 259,
38 INT = 260,
39 PERCENT_TOKEN = 261,
40 PERCENT_NTERM = 262,
41 PERCENT_TYPE = 263,
42 PERCENT_DESTRUCTOR = 264,
43 PERCENT_PRINTER = 265,
44 PERCENT_UNION = 266,
45 PERCENT_LEFT = 267,
46 PERCENT_RIGHT = 268,
47 PERCENT_NONASSOC = 269,
48 PERCENT_EXPECT = 270,
49 PERCENT_START = 271,
50 PERCENT_PREC = 272,
51 PERCENT_DPREC = 273,
52 PERCENT_MERGE = 274,
53 PERCENT_VERBOSE = 275,
54 PERCENT_ERROR_VERBOSE = 276,
55 PERCENT_OUTPUT = 277,
56 PERCENT_FILE_PREFIX = 278,
57 PERCENT_NAME_PREFIX = 279,
58 PERCENT_DEFINE = 280,
59 PERCENT_PURE_PARSER = 281,
60 PERCENT_GLR_PARSER = 282,
61 PERCENT_DEFINES = 283,
62 PERCENT_YACC = 284,
63 PERCENT_DEBUG = 285,
64 PERCENT_LOCATIONS = 286,
65 PERCENT_NO_LINES = 287,
66 PERCENT_SKELETON = 288,
67 PERCENT_TOKEN_TABLE = 289,
68 TYPE = 290,
69 EQUAL = 291,
70 SEMICOLON = 292,
71 COLON = 293,
72 PIPE = 294,
73 ID = 295,
74 PERCENT_PERCENT = 296,
75 PROLOGUE = 297,
76 EPILOGUE = 298,
77 BRACED_CODE = 299
78 };
79 # endif
80 /* POSIX requires `int' for tokens in interfaces. */
81 # define YYTOKENTYPE int
82 #endif /* !YYTOKENTYPE */
83 #define GRAM_EOF 0
84 #define STRING 258
85 #define CHARACTER 259
86 #define INT 260
87 #define PERCENT_TOKEN 261
88 #define PERCENT_NTERM 262
89 #define PERCENT_TYPE 263
90 #define PERCENT_DESTRUCTOR 264
91 #define PERCENT_PRINTER 265
92 #define PERCENT_UNION 266
93 #define PERCENT_LEFT 267
94 #define PERCENT_RIGHT 268
95 #define PERCENT_NONASSOC 269
96 #define PERCENT_EXPECT 270
97 #define PERCENT_START 271
98 #define PERCENT_PREC 272
99 #define PERCENT_DPREC 273
100 #define PERCENT_MERGE 274
101 #define PERCENT_VERBOSE 275
102 #define PERCENT_ERROR_VERBOSE 276
103 #define PERCENT_OUTPUT 277
104 #define PERCENT_FILE_PREFIX 278
105 #define PERCENT_NAME_PREFIX 279
106 #define PERCENT_DEFINE 280
107 #define PERCENT_PURE_PARSER 281
108 #define PERCENT_GLR_PARSER 282
109 #define PERCENT_DEFINES 283
110 #define PERCENT_YACC 284
111 #define PERCENT_DEBUG 285
112 #define PERCENT_LOCATIONS 286
113 #define PERCENT_NO_LINES 287
114 #define PERCENT_SKELETON 288
115 #define PERCENT_TOKEN_TABLE 289
116 #define TYPE 290
117 #define EQUAL 291
118 #define SEMICOLON 292
119 #define COLON 293
120 #define PIPE 294
121 #define ID 295
122 #define PERCENT_PERCENT 296
123 #define PROLOGUE 297
124 #define EPILOGUE 298
125 #define BRACED_CODE 299
126
127
128
129
130 #ifndef YYSTYPE
131 #line 89 "parse-gram.y"
132 typedef union {
133 symbol_t *symbol;
134 symbol_list_t *list;
135 int integer;
136 char *string;
137 assoc_t assoc;
138 } yystype;
139 /* Line 1292 of /tmp/prefix/share/bison/yacc.c. */
140 #line 141 "y.tab.h"
141 # define YYSTYPE yystype
142 #endif
143
144
145
146 #ifndef YYLTYPE
147 typedef struct yyltype
148 {
149 int first_line;
150 int first_column;
151 int last_line;
152 int last_column;
153 } yyltype;
154 # define YYLTYPE yyltype
155 #endif
156
157
158
159 #endif /* not BISON_PARSE_GRAM_H */
160