xref: /dragonfly/contrib/flex/src/parse.h (revision 5fb3968e)
1 /* A Bison parser, made by GNU Bison 3.0.4.  */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5    Copyright (C) 1984, 1989-1990, 2000-2015 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 #ifndef YY_YY_PARSE_H_INCLUDED
34 # define YY_YY_PARSE_H_INCLUDED
35 /* Debug traces.  */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int yydebug;
41 #endif
42 
43 /* Token type.  */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
46   enum yytokentype
47   {
48     CHAR = 258,
49     NUMBER = 259,
50     SECTEND = 260,
51     SCDECL = 261,
52     XSCDECL = 262,
53     NAME = 263,
54     PREVCCL = 264,
55     EOF_OP = 265,
56     TOK_OPTION = 266,
57     TOK_OUTFILE = 267,
58     TOK_PREFIX = 268,
59     TOK_YYCLASS = 269,
60     TOK_HEADER_FILE = 270,
61     TOK_EXTRA_TYPE = 271,
62     TOK_TABLES_FILE = 272,
63     CCE_ALNUM = 273,
64     CCE_ALPHA = 274,
65     CCE_BLANK = 275,
66     CCE_CNTRL = 276,
67     CCE_DIGIT = 277,
68     CCE_GRAPH = 278,
69     CCE_LOWER = 279,
70     CCE_PRINT = 280,
71     CCE_PUNCT = 281,
72     CCE_SPACE = 282,
73     CCE_UPPER = 283,
74     CCE_XDIGIT = 284,
75     CCE_NEG_ALNUM = 285,
76     CCE_NEG_ALPHA = 286,
77     CCE_NEG_BLANK = 287,
78     CCE_NEG_CNTRL = 288,
79     CCE_NEG_DIGIT = 289,
80     CCE_NEG_GRAPH = 290,
81     CCE_NEG_LOWER = 291,
82     CCE_NEG_PRINT = 292,
83     CCE_NEG_PUNCT = 293,
84     CCE_NEG_SPACE = 294,
85     CCE_NEG_UPPER = 295,
86     CCE_NEG_XDIGIT = 296,
87     CCL_OP_DIFF = 297,
88     CCL_OP_UNION = 298,
89     BEGIN_REPEAT_POSIX = 299,
90     END_REPEAT_POSIX = 300,
91     BEGIN_REPEAT_FLEX = 301,
92     END_REPEAT_FLEX = 302
93   };
94 #endif
95 /* Tokens.  */
96 #define CHAR 258
97 #define NUMBER 259
98 #define SECTEND 260
99 #define SCDECL 261
100 #define XSCDECL 262
101 #define NAME 263
102 #define PREVCCL 264
103 #define EOF_OP 265
104 #define TOK_OPTION 266
105 #define TOK_OUTFILE 267
106 #define TOK_PREFIX 268
107 #define TOK_YYCLASS 269
108 #define TOK_HEADER_FILE 270
109 #define TOK_EXTRA_TYPE 271
110 #define TOK_TABLES_FILE 272
111 #define CCE_ALNUM 273
112 #define CCE_ALPHA 274
113 #define CCE_BLANK 275
114 #define CCE_CNTRL 276
115 #define CCE_DIGIT 277
116 #define CCE_GRAPH 278
117 #define CCE_LOWER 279
118 #define CCE_PRINT 280
119 #define CCE_PUNCT 281
120 #define CCE_SPACE 282
121 #define CCE_UPPER 283
122 #define CCE_XDIGIT 284
123 #define CCE_NEG_ALNUM 285
124 #define CCE_NEG_ALPHA 286
125 #define CCE_NEG_BLANK 287
126 #define CCE_NEG_CNTRL 288
127 #define CCE_NEG_DIGIT 289
128 #define CCE_NEG_GRAPH 290
129 #define CCE_NEG_LOWER 291
130 #define CCE_NEG_PRINT 292
131 #define CCE_NEG_PUNCT 293
132 #define CCE_NEG_SPACE 294
133 #define CCE_NEG_UPPER 295
134 #define CCE_NEG_XDIGIT 296
135 #define CCL_OP_DIFF 297
136 #define CCL_OP_UNION 298
137 #define BEGIN_REPEAT_POSIX 299
138 #define END_REPEAT_POSIX 300
139 #define BEGIN_REPEAT_FLEX 301
140 #define END_REPEAT_FLEX 302
141 
142 /* Value type.  */
143 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
144 typedef int YYSTYPE;
145 # define YYSTYPE_IS_TRIVIAL 1
146 # define YYSTYPE_IS_DECLARED 1
147 #endif
148 
149 
150 extern YYSTYPE yylval;
151 
152 int yyparse (void);
153 
154 #endif /* !YY_YY_PARSE_H_INCLUDED  */
155