Imported Upstream version 0.4.8
[platform/upstream/libsmi.git] / lib / parser-smi.tab.h
1 /* A Bison parser, made by GNU Bison 2.3.  */
2
3 /* Skeleton interface for Bison's Yacc-like parsers in C
4
5    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6    Free Software Foundation, Inc.
7
8    This program is free software; you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation; either version 2, or (at your option)
11    any later version.
12
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17
18    You should have received a copy of the GNU General Public License
19    along with this program; if not, write to the Free Software
20    Foundation, Inc., 51 Franklin Street, Fifth Floor,
21    Boston, MA 02110-1301, USA.  */
22
23 /* As a special exception, you may create a larger work that contains
24    part or all of the Bison parser skeleton and distribute that work
25    under terms of your choice, so long as that work isn't itself a
26    parser generator using the skeleton or a modified version thereof
27    as a parser skeleton.  Alternatively, if you modify or redistribute
28    the parser skeleton itself, you may (at your option) remove this
29    special exception, which will cause the skeleton and the resulting
30    Bison output files to be licensed under the GNU General Public
31    License without this special exception.
32
33    This special exception was added by the Free Software Foundation in
34    version 2.2 of Bison.  */
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      DOT_DOT = 258,
43      COLON_COLON_EQUAL = 259,
44      UPPERCASE_IDENTIFIER = 260,
45      LOWERCASE_IDENTIFIER = 261,
46      NUMBER = 262,
47      NEGATIVENUMBER = 263,
48      NUMBER64 = 264,
49      NEGATIVENUMBER64 = 265,
50      BIN_STRING = 266,
51      HEX_STRING = 267,
52      QUOTED_STRING = 268,
53      ACCESS = 269,
54      AGENT_CAPABILITIES = 270,
55      APPLICATION = 271,
56      AUGMENTS = 272,
57      BEGIN_ = 273,
58      BITS = 274,
59      CHOICE = 275,
60      CONTACT_INFO = 276,
61      CREATION_REQUIRES = 277,
62      COUNTER32 = 278,
63      COUNTER64 = 279,
64      DEFINITIONS = 280,
65      DEFVAL = 281,
66      DESCRIPTION = 282,
67      DISPLAY_HINT = 283,
68      END = 284,
69      ENTERPRISE = 285,
70      EXPORTS = 286,
71      EXTENDS = 287,
72      FROM = 288,
73      GROUP = 289,
74      GAUGE32 = 290,
75      IDENTIFIER = 291,
76      IMPLICIT = 292,
77      IMPLIED = 293,
78      IMPORTS = 294,
79      INCLUDES = 295,
80      INDEX = 296,
81      INSTALL_ERRORS = 297,
82      INTEGER = 298,
83      INTEGER32 = 299,
84      INTEGER64 = 300,
85      IPADDRESS = 301,
86      LAST_UPDATED = 302,
87      MACRO = 303,
88      MANDATORY_GROUPS = 304,
89      MAX_ACCESS = 305,
90      MIN_ACCESS = 306,
91      MODULE = 307,
92      MODULE_COMPLIANCE = 308,
93      MODULE_IDENTITY = 309,
94      NOT_ACCESSIBLE = 310,
95      NOTIFICATIONS = 311,
96      NOTIFICATION_GROUP = 312,
97      NOTIFICATION_TYPE = 313,
98      OBJECT = 314,
99      OBJECT_GROUP = 315,
100      OBJECT_IDENTITY = 316,
101      OBJECT_TYPE = 317,
102      OBJECTS = 318,
103      OCTET = 319,
104      OF = 320,
105      ORGANIZATION = 321,
106      OPAQUE = 322,
107      PIB_ACCESS = 323,
108      PIB_DEFINITIONS = 324,
109      PIB_INDEX = 325,
110      PIB_MIN_ACCESS = 326,
111      PIB_REFERENCES = 327,
112      PIB_TAG = 328,
113      POLICY_ACCESS = 329,
114      PRODUCT_RELEASE = 330,
115      REFERENCE = 331,
116      REVISION = 332,
117      SEQUENCE = 333,
118      SIZE = 334,
119      STATUS = 335,
120      STRING = 336,
121      SUBJECT_CATEGORIES = 337,
122      SUPPORTS = 338,
123      SYNTAX = 339,
124      TEXTUAL_CONVENTION = 340,
125      TIMETICKS = 341,
126      TRAP_TYPE = 342,
127      UNIQUENESS = 343,
128      UNITS = 344,
129      UNIVERSAL = 345,
130      UNSIGNED32 = 346,
131      UNSIGNED64 = 347,
132      VALUE = 348,
133      VARIABLES = 349,
134      VARIATION = 350,
135      WRITE_SYNTAX = 351
136    };
137 #endif
138 /* Tokens.  */
139 #define DOT_DOT 258
140 #define COLON_COLON_EQUAL 259
141 #define UPPERCASE_IDENTIFIER 260
142 #define LOWERCASE_IDENTIFIER 261
143 #define NUMBER 262
144 #define NEGATIVENUMBER 263
145 #define NUMBER64 264
146 #define NEGATIVENUMBER64 265
147 #define BIN_STRING 266
148 #define HEX_STRING 267
149 #define QUOTED_STRING 268
150 #define ACCESS 269
151 #define AGENT_CAPABILITIES 270
152 #define APPLICATION 271
153 #define AUGMENTS 272
154 #define BEGIN_ 273
155 #define BITS 274
156 #define CHOICE 275
157 #define CONTACT_INFO 276
158 #define CREATION_REQUIRES 277
159 #define COUNTER32 278
160 #define COUNTER64 279
161 #define DEFINITIONS 280
162 #define DEFVAL 281
163 #define DESCRIPTION 282
164 #define DISPLAY_HINT 283
165 #define END 284
166 #define ENTERPRISE 285
167 #define EXPORTS 286
168 #define EXTENDS 287
169 #define FROM 288
170 #define GROUP 289
171 #define GAUGE32 290
172 #define IDENTIFIER 291
173 #define IMPLICIT 292
174 #define IMPLIED 293
175 #define IMPORTS 294
176 #define INCLUDES 295
177 #define INDEX 296
178 #define INSTALL_ERRORS 297
179 #define INTEGER 298
180 #define INTEGER32 299
181 #define INTEGER64 300
182 #define IPADDRESS 301
183 #define LAST_UPDATED 302
184 #define MACRO 303
185 #define MANDATORY_GROUPS 304
186 #define MAX_ACCESS 305
187 #define MIN_ACCESS 306
188 #define MODULE 307
189 #define MODULE_COMPLIANCE 308
190 #define MODULE_IDENTITY 309
191 #define NOT_ACCESSIBLE 310
192 #define NOTIFICATIONS 311
193 #define NOTIFICATION_GROUP 312
194 #define NOTIFICATION_TYPE 313
195 #define OBJECT 314
196 #define OBJECT_GROUP 315
197 #define OBJECT_IDENTITY 316
198 #define OBJECT_TYPE 317
199 #define OBJECTS 318
200 #define OCTET 319
201 #define OF 320
202 #define ORGANIZATION 321
203 #define OPAQUE 322
204 #define PIB_ACCESS 323
205 #define PIB_DEFINITIONS 324
206 #define PIB_INDEX 325
207 #define PIB_MIN_ACCESS 326
208 #define PIB_REFERENCES 327
209 #define PIB_TAG 328
210 #define POLICY_ACCESS 329
211 #define PRODUCT_RELEASE 330
212 #define REFERENCE 331
213 #define REVISION 332
214 #define SEQUENCE 333
215 #define SIZE 334
216 #define STATUS 335
217 #define STRING 336
218 #define SUBJECT_CATEGORIES 337
219 #define SUPPORTS 338
220 #define SYNTAX 339
221 #define TEXTUAL_CONVENTION 340
222 #define TIMETICKS 341
223 #define TRAP_TYPE 342
224 #define UNIQUENESS 343
225 #define UNITS 344
226 #define UNIVERSAL 345
227 #define UNSIGNED32 346
228 #define UNSIGNED64 347
229 #define VALUE 348
230 #define VARIABLES 349
231 #define VARIATION 350
232 #define WRITE_SYNTAX 351
233
234
235
236
237 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
238 typedef union YYSTYPE
239 #line 1288 "parser-smi.y"
240 {
241     char           *text;                       /* scanned quoted text       */
242     char           *id;                         /* identifier name           */
243     int            err;                         /* actually just a dummy     */
244     time_t         date;                        /* a date value              */
245     Object         *objectPtr;                  /* object identifier         */
246     SmiStatus      status;                      /* a STATUS value            */
247     SmiAccess      access;                      /* an ACCESS value           */
248     Type           *typePtr;
249     List           *listPtr;                    /* SEQUENCE and INDEX lists  */
250     NamedNumber    *namedNumberPtr;             /* BITS or enum item         */
251     Range          *rangePtr;                   /* type restricting range    */
252     SmiValue       *valuePtr;
253     SmiUnsigned32  unsigned32;                  /*                           */
254     SmiInteger32   integer32;                   /*                           */
255     SmiUnsigned64  unsigned64;                  /*                           */
256     SmiInteger64   integer64;                   /*                           */
257     struct Compl   compl;
258     struct Index   index;
259     Module         *modulePtr;
260     SubjectCategories *subjectCategoriesPtr;
261 }
262 /* Line 1489 of yacc.c.  */
263 #line 264 "parser-smi.tab.h"
264         YYSTYPE;
265 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
266 # define YYSTYPE_IS_DECLARED 1
267 # define YYSTYPE_IS_TRIVIAL 1
268 #endif
269
270
271