]> git.saurik.com Git - bison.git/blob - src/parse-gram.h
Do not create a temporary file, as that involves security and
[bison.git] / src / parse-gram.h
1 /* A Bison parser, made from parse-gram.y, by GNU bison 1.75a. */
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 # define YYTOKENTYPE
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_PREC = 270,
49 PERCENT_DPREC = 271,
50 PERCENT_MERGE = 272,
51 PERCENT_DEBUG = 273,
52 PERCENT_DEFINE = 274,
53 PERCENT_DEFINES = 275,
54 PERCENT_ERROR_VERBOSE = 276,
55 PERCENT_EXPECT = 277,
56 PERCENT_FILE_PREFIX = 278,
57 PERCENT_GLR_PARSER = 279,
58 PERCENT_LEX_PARAM = 280,
59 PERCENT_LOCATIONS = 281,
60 PERCENT_NAME_PREFIX = 282,
61 PERCENT_NO_LINES = 283,
62 PERCENT_OUTPUT = 284,
63 PERCENT_PARSE_PARAM = 285,
64 PERCENT_PURE_PARSER = 286,
65 PERCENT_SKELETON = 287,
66 PERCENT_START = 288,
67 PERCENT_TOKEN_TABLE = 289,
68 PERCENT_VERBOSE = 290,
69 PERCENT_YACC = 291,
70 TYPE = 292,
71 EQUAL = 293,
72 SEMICOLON = 294,
73 COLON = 295,
74 COMMA = 296,
75 PIPE = 297,
76 ID = 298,
77 PERCENT_PERCENT = 299,
78 PROLOGUE = 300,
79 EPILOGUE = 301,
80 BRACED_CODE = 302
81 };
82 #endif
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_PREC 270
97 #define PERCENT_DPREC 271
98 #define PERCENT_MERGE 272
99 #define PERCENT_DEBUG 273
100 #define PERCENT_DEFINE 274
101 #define PERCENT_DEFINES 275
102 #define PERCENT_ERROR_VERBOSE 276
103 #define PERCENT_EXPECT 277
104 #define PERCENT_FILE_PREFIX 278
105 #define PERCENT_GLR_PARSER 279
106 #define PERCENT_LEX_PARAM 280
107 #define PERCENT_LOCATIONS 281
108 #define PERCENT_NAME_PREFIX 282
109 #define PERCENT_NO_LINES 283
110 #define PERCENT_OUTPUT 284
111 #define PERCENT_PARSE_PARAM 285
112 #define PERCENT_PURE_PARSER 286
113 #define PERCENT_SKELETON 287
114 #define PERCENT_START 288
115 #define PERCENT_TOKEN_TABLE 289
116 #define PERCENT_VERBOSE 290
117 #define PERCENT_YACC 291
118 #define TYPE 292
119 #define EQUAL 293
120 #define SEMICOLON 294
121 #define COLON 295
122 #define COMMA 296
123 #define PIPE 297
124 #define ID 298
125 #define PERCENT_PERCENT 299
126 #define PROLOGUE 300
127 #define EPILOGUE 301
128 #define BRACED_CODE 302
129
130
131
132
133 #ifndef YYSTYPE
134 #line 89 "parse-gram.y"
135 typedef union {
136 symbol_t *symbol;
137 symbol_list_t *list;
138 int integer;
139 char *string;
140 assoc_t assoc;
141 } yystype;
142 /* Line 1281 of /usr/local/share/bison/yacc.c. */
143 #line 144 "y.tab.h"
144 # define YYSTYPE yystype
145 #endif
146
147
148
149 #ifndef YYLTYPE
150 typedef struct yyltype
151 {
152 int first_line;
153 int first_column;
154 int last_line;
155 int last_column;
156 } yyltype;
157 # define YYLTYPE yyltype
158 #endif
159
160
161
162 #endif /* not BISON_PARSE_GRAM_H */
163