Import flex-2.5.37 to new vendor branch
[dragonfly.git] / contrib / flex / parse.h
1
2 /* A Bison parser, made by GNU Bison 2.4.1.  */
3
4 /* Skeleton interface for Bison's Yacc-like parsers in C
5    
6       Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
7    Free Software Foundation, Inc.
8    
9    This program is free software: you can redistribute it and/or modify
10    it under the terms of the GNU General Public License as published by
11    the Free Software Foundation, either version 3 of the License, or
12    (at your option) any later version.
13    
14    This program is distributed in the hope that it will be useful,
15    but WITHOUT ANY WARRANTY; without even the implied warranty of
16    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17    GNU General Public License for more details.
18    
19    You should have received a copy of the GNU General Public License
20    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
21
22 /* As a special exception, you may create a larger work that contains
23    part or all of the Bison parser skeleton and distribute that work
24    under terms of your choice, so long as that work isn't itself a
25    parser generator using the skeleton or a modified version thereof
26    as a parser skeleton.  Alternatively, if you modify or redistribute
27    the parser skeleton itself, you may (at your option) remove this
28    special exception, which will cause the skeleton and the resulting
29    Bison output files to be licensed under the GNU General Public
30    License without this special exception.
31    
32    This special exception was added by the Free Software Foundation in
33    version 2.2 of Bison.  */
34
35
36 /* Tokens.  */
37 #ifndef YYTOKENTYPE
38 # define YYTOKENTYPE
39    /* Put the tokens into the symbol table, so that GDB and other debuggers
40       know about them.  */
41    enum yytokentype {
42      CHAR = 258,
43      NUMBER = 259,
44      SECTEND = 260,
45      SCDECL = 261,
46      XSCDECL = 262,
47      NAME = 263,
48      PREVCCL = 264,
49      EOF_OP = 265,
50      OPTION_OP = 266,
51      OPT_OUTFILE = 267,
52      OPT_PREFIX = 268,
53      OPT_YYCLASS = 269,
54      OPT_HEADER = 270,
55      OPT_EXTRA_TYPE = 271,
56      OPT_TABLES = 272,
57      CCE_ALNUM = 273,
58      CCE_ALPHA = 274,
59      CCE_BLANK = 275,
60      CCE_CNTRL = 276,
61      CCE_DIGIT = 277,
62      CCE_GRAPH = 278,
63      CCE_LOWER = 279,
64      CCE_PRINT = 280,
65      CCE_PUNCT = 281,
66      CCE_SPACE = 282,
67      CCE_UPPER = 283,
68      CCE_XDIGIT = 284,
69      CCE_NEG_ALNUM = 285,
70      CCE_NEG_ALPHA = 286,
71      CCE_NEG_BLANK = 287,
72      CCE_NEG_CNTRL = 288,
73      CCE_NEG_DIGIT = 289,
74      CCE_NEG_GRAPH = 290,
75      CCE_NEG_LOWER = 291,
76      CCE_NEG_PRINT = 292,
77      CCE_NEG_PUNCT = 293,
78      CCE_NEG_SPACE = 294,
79      CCE_NEG_UPPER = 295,
80      CCE_NEG_XDIGIT = 296,
81      CCL_OP_UNION = 297,
82      CCL_OP_DIFF = 298,
83      BEGIN_REPEAT_POSIX = 299,
84      END_REPEAT_POSIX = 300,
85      BEGIN_REPEAT_FLEX = 301,
86      END_REPEAT_FLEX = 302
87    };
88 #endif
89 /* Tokens.  */
90 #define CHAR 258
91 #define NUMBER 259
92 #define SECTEND 260
93 #define SCDECL 261
94 #define XSCDECL 262
95 #define NAME 263
96 #define PREVCCL 264
97 #define EOF_OP 265
98 #define OPTION_OP 266
99 #define OPT_OUTFILE 267
100 #define OPT_PREFIX 268
101 #define OPT_YYCLASS 269
102 #define OPT_HEADER 270
103 #define OPT_EXTRA_TYPE 271
104 #define OPT_TABLES 272
105 #define CCE_ALNUM 273
106 #define CCE_ALPHA 274
107 #define CCE_BLANK 275
108 #define CCE_CNTRL 276
109 #define CCE_DIGIT 277
110 #define CCE_GRAPH 278
111 #define CCE_LOWER 279
112 #define CCE_PRINT 280
113 #define CCE_PUNCT 281
114 #define CCE_SPACE 282
115 #define CCE_UPPER 283
116 #define CCE_XDIGIT 284
117 #define CCE_NEG_ALNUM 285
118 #define CCE_NEG_ALPHA 286
119 #define CCE_NEG_BLANK 287
120 #define CCE_NEG_CNTRL 288
121 #define CCE_NEG_DIGIT 289
122 #define CCE_NEG_GRAPH 290
123 #define CCE_NEG_LOWER 291
124 #define CCE_NEG_PRINT 292
125 #define CCE_NEG_PUNCT 293
126 #define CCE_NEG_SPACE 294
127 #define CCE_NEG_UPPER 295
128 #define CCE_NEG_XDIGIT 296
129 #define CCL_OP_UNION 297
130 #define CCL_OP_DIFF 298
131 #define BEGIN_REPEAT_POSIX 299
132 #define END_REPEAT_POSIX 300
133 #define BEGIN_REPEAT_FLEX 301
134 #define END_REPEAT_FLEX 302
135
136
137
138
139 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
140 typedef int YYSTYPE;
141 # define YYSTYPE_IS_TRIVIAL 1
142 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
143 # define YYSTYPE_IS_DECLARED 1
144 #endif
145
146 extern YYSTYPE yylval;
147
148