dc3debb5c8d1c01e179ab6b94a6d21ae69d94c3d
[kai/samba.git] / source4 / heimdal / lib / asn1 / asn1parse.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      kw_ABSENT = 258,
43      kw_ABSTRACT_SYNTAX = 259,
44      kw_ALL = 260,
45      kw_APPLICATION = 261,
46      kw_AUTOMATIC = 262,
47      kw_BEGIN = 263,
48      kw_BIT = 264,
49      kw_BMPString = 265,
50      kw_BOOLEAN = 266,
51      kw_BY = 267,
52      kw_CHARACTER = 268,
53      kw_CHOICE = 269,
54      kw_CLASS = 270,
55      kw_COMPONENT = 271,
56      kw_COMPONENTS = 272,
57      kw_CONSTRAINED = 273,
58      kw_CONTAINING = 274,
59      kw_DEFAULT = 275,
60      kw_DEFINITIONS = 276,
61      kw_EMBEDDED = 277,
62      kw_ENCODED = 278,
63      kw_END = 279,
64      kw_ENUMERATED = 280,
65      kw_EXCEPT = 281,
66      kw_EXPLICIT = 282,
67      kw_EXPORTS = 283,
68      kw_EXTENSIBILITY = 284,
69      kw_EXTERNAL = 285,
70      kw_FALSE = 286,
71      kw_FROM = 287,
72      kw_GeneralString = 288,
73      kw_GeneralizedTime = 289,
74      kw_GraphicString = 290,
75      kw_IA5String = 291,
76      kw_IDENTIFIER = 292,
77      kw_IMPLICIT = 293,
78      kw_IMPLIED = 294,
79      kw_IMPORTS = 295,
80      kw_INCLUDES = 296,
81      kw_INSTANCE = 297,
82      kw_INTEGER = 298,
83      kw_INTERSECTION = 299,
84      kw_ISO646String = 300,
85      kw_MAX = 301,
86      kw_MIN = 302,
87      kw_MINUS_INFINITY = 303,
88      kw_NULL = 304,
89      kw_NumericString = 305,
90      kw_OBJECT = 306,
91      kw_OCTET = 307,
92      kw_OF = 308,
93      kw_OPTIONAL = 309,
94      kw_ObjectDescriptor = 310,
95      kw_PATTERN = 311,
96      kw_PDV = 312,
97      kw_PLUS_INFINITY = 313,
98      kw_PRESENT = 314,
99      kw_PRIVATE = 315,
100      kw_PrintableString = 316,
101      kw_REAL = 317,
102      kw_RELATIVE_OID = 318,
103      kw_SEQUENCE = 319,
104      kw_SET = 320,
105      kw_SIZE = 321,
106      kw_STRING = 322,
107      kw_SYNTAX = 323,
108      kw_T61String = 324,
109      kw_TAGS = 325,
110      kw_TRUE = 326,
111      kw_TYPE_IDENTIFIER = 327,
112      kw_TeletexString = 328,
113      kw_UNION = 329,
114      kw_UNIQUE = 330,
115      kw_UNIVERSAL = 331,
116      kw_UTCTime = 332,
117      kw_UTF8String = 333,
118      kw_UniversalString = 334,
119      kw_VideotexString = 335,
120      kw_VisibleString = 336,
121      kw_WITH = 337,
122      RANGE = 338,
123      EEQUAL = 339,
124      ELLIPSIS = 340,
125      IDENTIFIER = 341,
126      referencename = 342,
127      STRING = 343,
128      NUMBER = 344
129    };
130 #endif
131 /* Tokens.  */
132 #define kw_ABSENT 258
133 #define kw_ABSTRACT_SYNTAX 259
134 #define kw_ALL 260
135 #define kw_APPLICATION 261
136 #define kw_AUTOMATIC 262
137 #define kw_BEGIN 263
138 #define kw_BIT 264
139 #define kw_BMPString 265
140 #define kw_BOOLEAN 266
141 #define kw_BY 267
142 #define kw_CHARACTER 268
143 #define kw_CHOICE 269
144 #define kw_CLASS 270
145 #define kw_COMPONENT 271
146 #define kw_COMPONENTS 272
147 #define kw_CONSTRAINED 273
148 #define kw_CONTAINING 274
149 #define kw_DEFAULT 275
150 #define kw_DEFINITIONS 276
151 #define kw_EMBEDDED 277
152 #define kw_ENCODED 278
153 #define kw_END 279
154 #define kw_ENUMERATED 280
155 #define kw_EXCEPT 281
156 #define kw_EXPLICIT 282
157 #define kw_EXPORTS 283
158 #define kw_EXTENSIBILITY 284
159 #define kw_EXTERNAL 285
160 #define kw_FALSE 286
161 #define kw_FROM 287
162 #define kw_GeneralString 288
163 #define kw_GeneralizedTime 289
164 #define kw_GraphicString 290
165 #define kw_IA5String 291
166 #define kw_IDENTIFIER 292
167 #define kw_IMPLICIT 293
168 #define kw_IMPLIED 294
169 #define kw_IMPORTS 295
170 #define kw_INCLUDES 296
171 #define kw_INSTANCE 297
172 #define kw_INTEGER 298
173 #define kw_INTERSECTION 299
174 #define kw_ISO646String 300
175 #define kw_MAX 301
176 #define kw_MIN 302
177 #define kw_MINUS_INFINITY 303
178 #define kw_NULL 304
179 #define kw_NumericString 305
180 #define kw_OBJECT 306
181 #define kw_OCTET 307
182 #define kw_OF 308
183 #define kw_OPTIONAL 309
184 #define kw_ObjectDescriptor 310
185 #define kw_PATTERN 311
186 #define kw_PDV 312
187 #define kw_PLUS_INFINITY 313
188 #define kw_PRESENT 314
189 #define kw_PRIVATE 315
190 #define kw_PrintableString 316
191 #define kw_REAL 317
192 #define kw_RELATIVE_OID 318
193 #define kw_SEQUENCE 319
194 #define kw_SET 320
195 #define kw_SIZE 321
196 #define kw_STRING 322
197 #define kw_SYNTAX 323
198 #define kw_T61String 324
199 #define kw_TAGS 325
200 #define kw_TRUE 326
201 #define kw_TYPE_IDENTIFIER 327
202 #define kw_TeletexString 328
203 #define kw_UNION 329
204 #define kw_UNIQUE 330
205 #define kw_UNIVERSAL 331
206 #define kw_UTCTime 332
207 #define kw_UTF8String 333
208 #define kw_UniversalString 334
209 #define kw_VideotexString 335
210 #define kw_VisibleString 336
211 #define kw_WITH 337
212 #define RANGE 338
213 #define EEQUAL 339
214 #define ELLIPSIS 340
215 #define IDENTIFIER 341
216 #define referencename 342
217 #define STRING 343
218 #define NUMBER 344
219
220
221
222
223 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
224 typedef union YYSTYPE
225 {
226
227 /* Line 1676 of yacc.c  */
228 #line 67 "heimdal/lib/asn1/asn1parse.y"
229
230     int constant;
231     struct value *value;
232     struct range *range;
233     char *name;
234     Type *type;
235     Member *member;
236     struct objid *objid;
237     char *defval;
238     struct string_list *sl;
239     struct tagtype tag;
240     struct memhead *members;
241     struct constraint_spec *constraint_spec;
242
243
244
245 /* Line 1676 of yacc.c  */
246 #line 247 "heimdal/lib/asn1/asn1parse.y"
247 } YYSTYPE;
248 # define YYSTYPE_IS_TRIVIAL 1
249 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
250 # define YYSTYPE_IS_DECLARED 1
251 #endif
252
253 extern YYSTYPE yylval;
254
255