1 /* A Bison parser, made by GNU Bison 2.3. */
3 /* Skeleton interface for Bison's Yacc-like parsers in C
5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6 Free Software Foundation, Inc.
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)
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.
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. */
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.
33 This special exception was added by the Free Software Foundation in
34 version 2.2 of Bison. */
39 /* Put the tokens into the symbol table, so that GDB and other debuggers
43 COLON_COLON_EQUAL = 259,
44 UPPERCASE_IDENTIFIER = 260,
45 LOWERCASE_IDENTIFIER = 261,
49 NEGATIVENUMBER64 = 265,
54 AGENT_CAPABILITIES = 270,
61 CREATION_REQUIRES = 277,
88 MANDATORY_GROUPS = 304,
92 MODULE_COMPLIANCE = 308,
93 MODULE_IDENTITY = 309,
96 NOTIFICATION_GROUP = 312,
97 NOTIFICATION_TYPE = 313,
100 OBJECT_IDENTITY = 316,
108 PIB_DEFINITIONS = 324,
110 PIB_MIN_ACCESS = 326,
111 PIB_REFERENCES = 327,
114 PRODUCT_RELEASE = 330,
121 SUBJECT_CATEGORIES = 337,
124 TEXTUAL_CONVENTION = 340,
140 #define COLON_COLON_EQUAL 259
141 #define UPPERCASE_IDENTIFIER 260
142 #define LOWERCASE_IDENTIFIER 261
144 #define NEGATIVENUMBER 263
146 #define NEGATIVENUMBER64 265
147 #define BIN_STRING 266
148 #define HEX_STRING 267
149 #define QUOTED_STRING 268
151 #define AGENT_CAPABILITIES 270
152 #define APPLICATION 271
157 #define CONTACT_INFO 276
158 #define CREATION_REQUIRES 277
159 #define COUNTER32 278
160 #define COUNTER64 279
161 #define DEFINITIONS 280
163 #define DESCRIPTION 282
164 #define DISPLAY_HINT 283
166 #define ENTERPRISE 285
172 #define IDENTIFIER 291
178 #define INSTALL_ERRORS 297
180 #define INTEGER32 299
181 #define INTEGER64 300
182 #define IPADDRESS 301
183 #define LAST_UPDATED 302
185 #define MANDATORY_GROUPS 304
186 #define MAX_ACCESS 305
187 #define MIN_ACCESS 306
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
196 #define OBJECT_GROUP 315
197 #define OBJECT_IDENTITY 316
198 #define OBJECT_TYPE 317
202 #define ORGANIZATION 321
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
210 #define POLICY_ACCESS 329
211 #define PRODUCT_RELEASE 330
212 #define REFERENCE 331
218 #define SUBJECT_CATEGORIES 337
221 #define TEXTUAL_CONVENTION 340
222 #define TIMETICKS 341
223 #define TRAP_TYPE 342
224 #define UNIQUENESS 343
226 #define UNIVERSAL 345
227 #define UNSIGNED32 346
228 #define UNSIGNED64 347
230 #define VARIABLES 349
231 #define VARIATION 350
232 #define WRITE_SYNTAX 351
237 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
238 typedef union YYSTYPE
239 #line 1288 "parser-smi.y"
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 */
249 List *listPtr; /* SEQUENCE and INDEX lists */
250 NamedNumber *namedNumberPtr; /* BITS or enum item */
251 Range *rangePtr; /* type restricting range */
253 SmiUnsigned32 unsigned32; /* */
254 SmiInteger32 integer32; /* */
255 SmiUnsigned64 unsigned64; /* */
256 SmiInteger64 integer64; /* */
260 SubjectCategories *subjectCategoriesPtr;
262 /* Line 1489 of yacc.c. */
263 #line 264 "parser-smi.tab.h"
265 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
266 # define YYSTYPE_IS_DECLARED 1
267 # define YYSTYPE_IS_TRIVIAL 1