]> git.saurik.com Git - bison.git/blame - src/parse-gram.h
Regen.
[bison.git] / src / parse-gram.h
CommitLineData
6d5aa694 1/* A Bison parser, made by GNU Bison 1.875b. */
04b6e11e
PE
2
3/* Skeleton parser for Yacc-like parsing with Bison,
1d64f0ba 4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
04b6e11e
PE
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
1921f1d7
AD
26/* Tokens. */
27#ifndef YYTOKENTYPE
ae7453f2 28# define YYTOKENTYPE
1921f1d7
AD
29 /* Put the tokens into the symbol table, so that GDB and other debuggers
30 know about them. */
31 enum yytokentype {
32 GRAM_EOF = 0,
33 STRING = 258,
62ddaef6
PE
34 INT = 259,
35 PERCENT_TOKEN = 260,
36 PERCENT_NTERM = 261,
37 PERCENT_TYPE = 262,
38 PERCENT_DESTRUCTOR = 263,
39 PERCENT_PRINTER = 264,
40 PERCENT_UNION = 265,
41 PERCENT_LEFT = 266,
42 PERCENT_RIGHT = 267,
43 PERCENT_NONASSOC = 268,
44 PERCENT_PREC = 269,
45 PERCENT_DPREC = 270,
46 PERCENT_MERGE = 271,
47 PERCENT_DEBUG = 272,
48 PERCENT_DEFINE = 273,
49 PERCENT_DEFINES = 274,
50 PERCENT_ERROR_VERBOSE = 275,
51 PERCENT_EXPECT = 276,
52 PERCENT_FILE_PREFIX = 277,
53 PERCENT_GLR_PARSER = 278,
54 PERCENT_LEX_PARAM = 279,
55 PERCENT_LOCATIONS = 280,
56 PERCENT_NAME_PREFIX = 281,
57 PERCENT_NO_LINES = 282,
58 PERCENT_OUTPUT = 283,
59 PERCENT_PARSE_PARAM = 284,
60 PERCENT_PURE_PARSER = 285,
61 PERCENT_SKELETON = 286,
62 PERCENT_START = 287,
63 PERCENT_TOKEN_TABLE = 288,
64 PERCENT_VERBOSE = 289,
65 PERCENT_YACC = 290,
66 TYPE = 291,
67 EQUAL = 292,
68 SEMICOLON = 293,
05d18c24
PE
69 PIPE = 294,
70 ID = 295,
71 ID_COLON = 296,
72 PERCENT_PERCENT = 297,
73 PROLOGUE = 298,
74 EPILOGUE = 299,
75 BRACED_CODE = 300
1921f1d7 76 };
ae7453f2 77#endif
1921f1d7
AD
78#define GRAM_EOF 0
79#define STRING 258
62ddaef6
PE
80#define INT 259
81#define PERCENT_TOKEN 260
82#define PERCENT_NTERM 261
83#define PERCENT_TYPE 262
84#define PERCENT_DESTRUCTOR 263
85#define PERCENT_PRINTER 264
86#define PERCENT_UNION 265
87#define PERCENT_LEFT 266
88#define PERCENT_RIGHT 267
89#define PERCENT_NONASSOC 268
90#define PERCENT_PREC 269
91#define PERCENT_DPREC 270
92#define PERCENT_MERGE 271
93#define PERCENT_DEBUG 272
94#define PERCENT_DEFINE 273
95#define PERCENT_DEFINES 274
96#define PERCENT_ERROR_VERBOSE 275
97#define PERCENT_EXPECT 276
98#define PERCENT_FILE_PREFIX 277
99#define PERCENT_GLR_PARSER 278
100#define PERCENT_LEX_PARAM 279
101#define PERCENT_LOCATIONS 280
102#define PERCENT_NAME_PREFIX 281
103#define PERCENT_NO_LINES 282
104#define PERCENT_OUTPUT 283
105#define PERCENT_PARSE_PARAM 284
106#define PERCENT_PURE_PARSER 285
107#define PERCENT_SKELETON 286
108#define PERCENT_START 287
109#define PERCENT_TOKEN_TABLE 288
110#define PERCENT_VERBOSE 289
111#define PERCENT_YACC 290
112#define TYPE 291
113#define EQUAL 292
114#define SEMICOLON 293
05d18c24
PE
115#define PIPE 294
116#define ID 295
117#define ID_COLON 296
118#define PERCENT_PERCENT 297
119#define PROLOGUE 298
120#define EPILOGUE 299
121#define BRACED_CODE 300
1921f1d7
AD
122
123
124
125
73521d9f 126#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
1d64f0ba 127#line 75 "parse-gram.y"
73521d9f 128typedef union YYSTYPE {
05d18c24
PE
129 symbol *symbol;
130 symbol_list *list;
e9955c83 131 int integer;
05d18c24
PE
132 char *chars;
133 assoc assoc;
134 uniqstr uniqstr;
73521d9f 135} YYSTYPE;
6d5aa694 136/* Line 1255 of yacc.c. */
1d64f0ba 137#line 138 "y.tab.h"
73521d9f
PE
138# define yystype YYSTYPE /* obsolescent; will be withdrawn */
139# define YYSTYPE_IS_DECLARED 1
886b69d1 140# define YYSTYPE_IS_TRIVIAL 1
e9955c83
AD
141#endif
142
1921f1d7
AD
143
144
73521d9f
PE
145#if ! defined (YYLTYPE) && ! defined (YYLTYPE_IS_DECLARED)
146typedef struct YYLTYPE
e9955c83
AD
147{
148 int first_line;
149 int first_column;
150 int last_line;
151 int last_column;
73521d9f
PE
152} YYLTYPE;
153# define yyltype YYLTYPE /* obsolescent; will be withdrawn */
154# define YYLTYPE_IS_DECLARED 1
155# define YYLTYPE_IS_TRIVIAL 1
e9955c83
AD
156#endif
157
158
159
1921f1d7 160