Imported Upstream version 1.22.4
[platform/upstream/groff.git] / src / preproc / eqn / eqn.hpp
1 /* A Bison parser, made by GNU Bison 3.2.  */
2
3 /* Bison interface for Yacc-like parsers in C
4
5    Copyright (C) 1984, 1989-1990, 2000-2015, 2018 Free Software Foundation, Inc.
6
7    This program is free software: you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation, either version 3 of the License, or
10    (at your option) any later version.
11
12    This program is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16
17    You should have received a copy of the GNU General Public License
18    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
19
20 /* As a special exception, you may create a larger work that contains
21    part or all of the Bison parser skeleton and distribute that work
22    under terms of your choice, so long as that work isn't itself a
23    parser generator using the skeleton or a modified version thereof
24    as a parser skeleton.  Alternatively, if you modify or redistribute
25    the parser skeleton itself, you may (at your option) remove this
26    special exception, which will cause the skeleton and the resulting
27    Bison output files to be licensed under the GNU General Public
28    License without this special exception.
29
30    This special exception was added by the Free Software Foundation in
31    version 2.2 of Bison.  */
32
33 /* Undocumented macros, especially those whose name start with YY_,
34    are private implementation details.  Do not rely on them.  */
35
36 #ifndef YY_YY_SRC_PREPROC_EQN_EQN_HPP_INCLUDED
37 # define YY_YY_SRC_PREPROC_EQN_EQN_HPP_INCLUDED
38 /* Debug traces.  */
39 #ifndef YYDEBUG
40 # define YYDEBUG 0
41 #endif
42 #if YYDEBUG
43 extern int yydebug;
44 #endif
45
46 /* Token type.  */
47 #ifndef YYTOKENTYPE
48 # define YYTOKENTYPE
49   enum yytokentype
50   {
51     OVER = 258,
52     SMALLOVER = 259,
53     SQRT = 260,
54     SUB = 261,
55     SUP = 262,
56     LPILE = 263,
57     RPILE = 264,
58     CPILE = 265,
59     PILE = 266,
60     LEFT = 267,
61     RIGHT = 268,
62     TO = 269,
63     FROM = 270,
64     SIZE = 271,
65     FONT = 272,
66     ROMAN = 273,
67     BOLD = 274,
68     ITALIC = 275,
69     FAT = 276,
70     ACCENT = 277,
71     BAR = 278,
72     UNDER = 279,
73     ABOVE = 280,
74     TEXT = 281,
75     QUOTED_TEXT = 282,
76     FWD = 283,
77     BACK = 284,
78     DOWN = 285,
79     UP = 286,
80     MATRIX = 287,
81     COL = 288,
82     LCOL = 289,
83     RCOL = 290,
84     CCOL = 291,
85     MARK = 292,
86     LINEUP = 293,
87     TYPE = 294,
88     VCENTER = 295,
89     PRIME = 296,
90     SPLIT = 297,
91     NOSPLIT = 298,
92     UACCENT = 299,
93     SPECIAL = 300,
94     SPACE = 301,
95     GFONT = 302,
96     GSIZE = 303,
97     DEFINE = 304,
98     NDEFINE = 305,
99     TDEFINE = 306,
100     SDEFINE = 307,
101     UNDEF = 308,
102     IFDEF = 309,
103     INCLUDE = 310,
104     DELIM = 311,
105     CHARTYPE = 312,
106     SET = 313,
107     GRFONT = 314,
108     GBFONT = 315
109   };
110 #endif
111 /* Tokens.  */
112 #define OVER 258
113 #define SMALLOVER 259
114 #define SQRT 260
115 #define SUB 261
116 #define SUP 262
117 #define LPILE 263
118 #define RPILE 264
119 #define CPILE 265
120 #define PILE 266
121 #define LEFT 267
122 #define RIGHT 268
123 #define TO 269
124 #define FROM 270
125 #define SIZE 271
126 #define FONT 272
127 #define ROMAN 273
128 #define BOLD 274
129 #define ITALIC 275
130 #define FAT 276
131 #define ACCENT 277
132 #define BAR 278
133 #define UNDER 279
134 #define ABOVE 280
135 #define TEXT 281
136 #define QUOTED_TEXT 282
137 #define FWD 283
138 #define BACK 284
139 #define DOWN 285
140 #define UP 286
141 #define MATRIX 287
142 #define COL 288
143 #define LCOL 289
144 #define RCOL 290
145 #define CCOL 291
146 #define MARK 292
147 #define LINEUP 293
148 #define TYPE 294
149 #define VCENTER 295
150 #define PRIME 296
151 #define SPLIT 297
152 #define NOSPLIT 298
153 #define UACCENT 299
154 #define SPECIAL 300
155 #define SPACE 301
156 #define GFONT 302
157 #define GSIZE 303
158 #define DEFINE 304
159 #define NDEFINE 305
160 #define TDEFINE 306
161 #define SDEFINE 307
162 #define UNDEF 308
163 #define IFDEF 309
164 #define INCLUDE 310
165 #define DELIM 311
166 #define CHARTYPE 312
167 #define SET 313
168 #define GRFONT 314
169 #define GBFONT 315
170
171 /* Value type.  */
172 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
173
174 union YYSTYPE
175 {
176 #line 30 "../src/preproc/eqn/eqn.ypp" /* yacc.c:1906  */
177
178         char *str;
179         box *b;
180         pile_box *pb;
181         matrix_box *mb;
182         int n;
183         column *col;
184
185 #line 186 "src/preproc/eqn/eqn.hpp" /* yacc.c:1906  */
186 };
187
188 typedef union YYSTYPE YYSTYPE;
189 # define YYSTYPE_IS_TRIVIAL 1
190 # define YYSTYPE_IS_DECLARED 1
191 #endif
192
193
194 extern YYSTYPE yylval;
195
196 int yyparse (void);
197
198 #endif /* !YY_YY_SRC_PREPROC_EQN_EQN_HPP_INCLUDED  */