|
Packit Service |
9ccfef |
/* A Bison parser, made by GNU Bison 2.3. */
|
|
Packit Service |
9ccfef |
|
|
Packit Service |
9ccfef |
/* Skeleton interface for Bison's Yacc-like parsers in C
|
|
Packit Service |
9ccfef |
|
|
Packit Service |
9ccfef |
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
|
Packit Service |
9ccfef |
Free Software Foundation, Inc.
|
|
Packit Service |
9ccfef |
|
|
Packit Service |
9ccfef |
This program is free software; you can redistribute it and/or modify
|
|
Packit Service |
9ccfef |
it under the terms of the GNU General Public License as published by
|
|
Packit Service |
9ccfef |
the Free Software Foundation; either version 2, or (at your option)
|
|
Packit Service |
9ccfef |
any later version.
|
|
Packit Service |
9ccfef |
|
|
Packit Service |
9ccfef |
This program is distributed in the hope that it will be useful,
|
|
Packit Service |
9ccfef |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
9ccfef |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
9ccfef |
GNU General Public License for more details.
|
|
Packit Service |
9ccfef |
|
|
Packit Service |
9ccfef |
You should have received a copy of the GNU General Public License
|
|
Packit Service |
9ccfef |
along with this program; if not, write to the Free Software
|
|
Packit Service |
9ccfef |
Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
Packit Service |
9ccfef |
Boston, MA 02110-1301, USA. */
|
|
Packit Service |
9ccfef |
|
|
Packit Service |
9ccfef |
/* As a special exception, you may create a larger work that contains
|
|
Packit Service |
9ccfef |
part or all of the Bison parser skeleton and distribute that work
|
|
Packit Service |
9ccfef |
under terms of your choice, so long as that work isn't itself a
|
|
Packit Service |
9ccfef |
parser generator using the skeleton or a modified version thereof
|
|
Packit Service |
9ccfef |
as a parser skeleton. Alternatively, if you modify or redistribute
|
|
Packit Service |
9ccfef |
the parser skeleton itself, you may (at your option) remove this
|
|
Packit Service |
9ccfef |
special exception, which will cause the skeleton and the resulting
|
|
Packit Service |
9ccfef |
Bison output files to be licensed under the GNU General Public
|
|
Packit Service |
9ccfef |
License without this special exception.
|
|
Packit Service |
9ccfef |
|
|
Packit Service |
9ccfef |
This special exception was added by the Free Software Foundation in
|
|
Packit Service |
9ccfef |
version 2.2 of Bison. */
|
|
Packit Service |
9ccfef |
|
|
Packit Service |
9ccfef |
/* Tokens. */
|
|
Packit Service |
9ccfef |
#ifndef YYTOKENTYPE
|
|
Packit Service |
9ccfef |
# define YYTOKENTYPE
|
|
Packit Service |
9ccfef |
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
|
Packit Service |
9ccfef |
know about them. */
|
|
Packit Service |
9ccfef |
enum yytokentype {
|
|
Packit Service |
9ccfef |
DOT_DOT = 258,
|
|
Packit Service |
9ccfef |
COLON_COLON_EQUAL = 259,
|
|
Packit Service |
9ccfef |
UPPERCASE_IDENTIFIER = 260,
|
|
Packit Service |
9ccfef |
LOWERCASE_IDENTIFIER = 261,
|
|
Packit Service |
9ccfef |
NUMBER = 262,
|
|
Packit Service |
9ccfef |
NEGATIVENUMBER = 263,
|
|
Packit Service |
9ccfef |
NUMBER64 = 264,
|
|
Packit Service |
9ccfef |
NEGATIVENUMBER64 = 265,
|
|
Packit Service |
9ccfef |
BIN_STRING = 266,
|
|
Packit Service |
9ccfef |
HEX_STRING = 267,
|
|
Packit Service |
9ccfef |
QUOTED_STRING = 268,
|
|
Packit Service |
9ccfef |
ACCESS = 269,
|
|
Packit Service |
9ccfef |
AGENT_CAPABILITIES = 270,
|
|
Packit Service |
9ccfef |
APPLICATION = 271,
|
|
Packit Service |
9ccfef |
AUGMENTS = 272,
|
|
Packit Service |
9ccfef |
BEGIN_ = 273,
|
|
Packit Service |
9ccfef |
BITS = 274,
|
|
Packit Service |
9ccfef |
CHOICE = 275,
|
|
Packit Service |
9ccfef |
CONTACT_INFO = 276,
|
|
Packit Service |
9ccfef |
CREATION_REQUIRES = 277,
|
|
Packit Service |
9ccfef |
COUNTER32 = 278,
|
|
Packit Service |
9ccfef |
COUNTER64 = 279,
|
|
Packit Service |
9ccfef |
DEFINITIONS = 280,
|
|
Packit Service |
9ccfef |
DEFVAL = 281,
|
|
Packit Service |
9ccfef |
DESCRIPTION = 282,
|
|
Packit Service |
9ccfef |
DISPLAY_HINT = 283,
|
|
Packit Service |
9ccfef |
END = 284,
|
|
Packit Service |
9ccfef |
ENTERPRISE = 285,
|
|
Packit Service |
9ccfef |
EXPORTS = 286,
|
|
Packit Service |
9ccfef |
EXTENDS = 287,
|
|
Packit Service |
9ccfef |
FROM = 288,
|
|
Packit Service |
9ccfef |
GROUP = 289,
|
|
Packit Service |
9ccfef |
GAUGE32 = 290,
|
|
Packit Service |
9ccfef |
IDENTIFIER = 291,
|
|
Packit Service |
9ccfef |
IMPLICIT = 292,
|
|
Packit Service |
9ccfef |
IMPLIED = 293,
|
|
Packit Service |
9ccfef |
IMPORTS = 294,
|
|
Packit Service |
9ccfef |
INCLUDES = 295,
|
|
Packit Service |
9ccfef |
INDEX = 296,
|
|
Packit Service |
9ccfef |
INSTALL_ERRORS = 297,
|
|
Packit Service |
9ccfef |
INTEGER = 298,
|
|
Packit Service |
9ccfef |
INTEGER32 = 299,
|
|
Packit Service |
9ccfef |
INTEGER64 = 300,
|
|
Packit Service |
9ccfef |
IPADDRESS = 301,
|
|
Packit Service |
9ccfef |
LAST_UPDATED = 302,
|
|
Packit Service |
9ccfef |
MACRO = 303,
|
|
Packit Service |
9ccfef |
MANDATORY_GROUPS = 304,
|
|
Packit Service |
9ccfef |
MAX_ACCESS = 305,
|
|
Packit Service |
9ccfef |
MIN_ACCESS = 306,
|
|
Packit Service |
9ccfef |
MODULE = 307,
|
|
Packit Service |
9ccfef |
MODULE_COMPLIANCE = 308,
|
|
Packit Service |
9ccfef |
MODULE_IDENTITY = 309,
|
|
Packit Service |
9ccfef |
NOT_ACCESSIBLE = 310,
|
|
Packit Service |
9ccfef |
NOTIFICATIONS = 311,
|
|
Packit Service |
9ccfef |
NOTIFICATION_GROUP = 312,
|
|
Packit Service |
9ccfef |
NOTIFICATION_TYPE = 313,
|
|
Packit Service |
9ccfef |
OBJECT = 314,
|
|
Packit Service |
9ccfef |
OBJECT_GROUP = 315,
|
|
Packit Service |
9ccfef |
OBJECT_IDENTITY = 316,
|
|
Packit Service |
9ccfef |
OBJECT_TYPE = 317,
|
|
Packit Service |
9ccfef |
OBJECTS = 318,
|
|
Packit Service |
9ccfef |
OCTET = 319,
|
|
Packit Service |
9ccfef |
OF = 320,
|
|
Packit Service |
9ccfef |
ORGANIZATION = 321,
|
|
Packit Service |
9ccfef |
OPAQUE = 322,
|
|
Packit Service |
9ccfef |
PIB_ACCESS = 323,
|
|
Packit Service |
9ccfef |
PIB_DEFINITIONS = 324,
|
|
Packit Service |
9ccfef |
PIB_INDEX = 325,
|
|
Packit Service |
9ccfef |
PIB_MIN_ACCESS = 326,
|
|
Packit Service |
9ccfef |
PIB_REFERENCES = 327,
|
|
Packit Service |
9ccfef |
PIB_TAG = 328,
|
|
Packit Service |
9ccfef |
POLICY_ACCESS = 329,
|
|
Packit Service |
9ccfef |
PRODUCT_RELEASE = 330,
|
|
Packit Service |
9ccfef |
REFERENCE = 331,
|
|
Packit Service |
9ccfef |
REVISION = 332,
|
|
Packit Service |
9ccfef |
SEQUENCE = 333,
|
|
Packit Service |
9ccfef |
SIZE = 334,
|
|
Packit Service |
9ccfef |
STATUS = 335,
|
|
Packit Service |
9ccfef |
STRING = 336,
|
|
Packit Service |
9ccfef |
SUBJECT_CATEGORIES = 337,
|
|
Packit Service |
9ccfef |
SUPPORTS = 338,
|
|
Packit Service |
9ccfef |
SYNTAX = 339,
|
|
Packit Service |
9ccfef |
TEXTUAL_CONVENTION = 340,
|
|
Packit Service |
9ccfef |
TIMETICKS = 341,
|
|
Packit Service |
9ccfef |
TRAP_TYPE = 342,
|
|
Packit Service |
9ccfef |
UNIQUENESS = 343,
|
|
Packit Service |
9ccfef |
UNITS = 344,
|
|
Packit Service |
9ccfef |
UNIVERSAL = 345,
|
|
Packit Service |
9ccfef |
UNSIGNED32 = 346,
|
|
Packit Service |
9ccfef |
UNSIGNED64 = 347,
|
|
Packit Service |
9ccfef |
VALUE = 348,
|
|
Packit Service |
9ccfef |
VARIABLES = 349,
|
|
Packit Service |
9ccfef |
VARIATION = 350,
|
|
Packit Service |
9ccfef |
WRITE_SYNTAX = 351
|
|
Packit Service |
9ccfef |
};
|
|
Packit Service |
9ccfef |
#endif
|
|
Packit Service |
9ccfef |
/* Tokens. */
|
|
Packit Service |
9ccfef |
#define DOT_DOT 258
|
|
Packit Service |
9ccfef |
#define COLON_COLON_EQUAL 259
|
|
Packit Service |
9ccfef |
#define UPPERCASE_IDENTIFIER 260
|
|
Packit Service |
9ccfef |
#define LOWERCASE_IDENTIFIER 261
|
|
Packit Service |
9ccfef |
#define NUMBER 262
|
|
Packit Service |
9ccfef |
#define NEGATIVENUMBER 263
|
|
Packit Service |
9ccfef |
#define NUMBER64 264
|
|
Packit Service |
9ccfef |
#define NEGATIVENUMBER64 265
|
|
Packit Service |
9ccfef |
#define BIN_STRING 266
|
|
Packit Service |
9ccfef |
#define HEX_STRING 267
|
|
Packit Service |
9ccfef |
#define QUOTED_STRING 268
|
|
Packit Service |
9ccfef |
#define ACCESS 269
|
|
Packit Service |
9ccfef |
#define AGENT_CAPABILITIES 270
|
|
Packit Service |
9ccfef |
#define APPLICATION 271
|
|
Packit Service |
9ccfef |
#define AUGMENTS 272
|
|
Packit Service |
9ccfef |
#define BEGIN_ 273
|
|
Packit Service |
9ccfef |
#define BITS 274
|
|
Packit Service |
9ccfef |
#define CHOICE 275
|
|
Packit Service |
9ccfef |
#define CONTACT_INFO 276
|
|
Packit Service |
9ccfef |
#define CREATION_REQUIRES 277
|
|
Packit Service |
9ccfef |
#define COUNTER32 278
|
|
Packit Service |
9ccfef |
#define COUNTER64 279
|
|
Packit Service |
9ccfef |
#define DEFINITIONS 280
|
|
Packit Service |
9ccfef |
#define DEFVAL 281
|
|
Packit Service |
9ccfef |
#define DESCRIPTION 282
|
|
Packit Service |
9ccfef |
#define DISPLAY_HINT 283
|
|
Packit Service |
9ccfef |
#define END 284
|
|
Packit Service |
9ccfef |
#define ENTERPRISE 285
|
|
Packit Service |
9ccfef |
#define EXPORTS 286
|
|
Packit Service |
9ccfef |
#define EXTENDS 287
|
|
Packit Service |
9ccfef |
#define FROM 288
|
|
Packit Service |
9ccfef |
#define GROUP 289
|
|
Packit Service |
9ccfef |
#define GAUGE32 290
|
|
Packit Service |
9ccfef |
#define IDENTIFIER 291
|
|
Packit Service |
9ccfef |
#define IMPLICIT 292
|
|
Packit Service |
9ccfef |
#define IMPLIED 293
|
|
Packit Service |
9ccfef |
#define IMPORTS 294
|
|
Packit Service |
9ccfef |
#define INCLUDES 295
|
|
Packit Service |
9ccfef |
#define INDEX 296
|
|
Packit Service |
9ccfef |
#define INSTALL_ERRORS 297
|
|
Packit Service |
9ccfef |
#define INTEGER 298
|
|
Packit Service |
9ccfef |
#define INTEGER32 299
|
|
Packit Service |
9ccfef |
#define INTEGER64 300
|
|
Packit Service |
9ccfef |
#define IPADDRESS 301
|
|
Packit Service |
9ccfef |
#define LAST_UPDATED 302
|
|
Packit Service |
9ccfef |
#define MACRO 303
|
|
Packit Service |
9ccfef |
#define MANDATORY_GROUPS 304
|
|
Packit Service |
9ccfef |
#define MAX_ACCESS 305
|
|
Packit Service |
9ccfef |
#define MIN_ACCESS 306
|
|
Packit Service |
9ccfef |
#define MODULE 307
|
|
Packit Service |
9ccfef |
#define MODULE_COMPLIANCE 308
|
|
Packit Service |
9ccfef |
#define MODULE_IDENTITY 309
|
|
Packit Service |
9ccfef |
#define NOT_ACCESSIBLE 310
|
|
Packit Service |
9ccfef |
#define NOTIFICATIONS 311
|
|
Packit Service |
9ccfef |
#define NOTIFICATION_GROUP 312
|
|
Packit Service |
9ccfef |
#define NOTIFICATION_TYPE 313
|
|
Packit Service |
9ccfef |
#define OBJECT 314
|
|
Packit Service |
9ccfef |
#define OBJECT_GROUP 315
|
|
Packit Service |
9ccfef |
#define OBJECT_IDENTITY 316
|
|
Packit Service |
9ccfef |
#define OBJECT_TYPE 317
|
|
Packit Service |
9ccfef |
#define OBJECTS 318
|
|
Packit Service |
9ccfef |
#define OCTET 319
|
|
Packit Service |
9ccfef |
#define OF 320
|
|
Packit Service |
9ccfef |
#define ORGANIZATION 321
|
|
Packit Service |
9ccfef |
#define OPAQUE 322
|
|
Packit Service |
9ccfef |
#define PIB_ACCESS 323
|
|
Packit Service |
9ccfef |
#define PIB_DEFINITIONS 324
|
|
Packit Service |
9ccfef |
#define PIB_INDEX 325
|
|
Packit Service |
9ccfef |
#define PIB_MIN_ACCESS 326
|
|
Packit Service |
9ccfef |
#define PIB_REFERENCES 327
|
|
Packit Service |
9ccfef |
#define PIB_TAG 328
|
|
Packit Service |
9ccfef |
#define POLICY_ACCESS 329
|
|
Packit Service |
9ccfef |
#define PRODUCT_RELEASE 330
|
|
Packit Service |
9ccfef |
#define REFERENCE 331
|
|
Packit Service |
9ccfef |
#define REVISION 332
|
|
Packit Service |
9ccfef |
#define SEQUENCE 333
|
|
Packit Service |
9ccfef |
#define SIZE 334
|
|
Packit Service |
9ccfef |
#define STATUS 335
|
|
Packit Service |
9ccfef |
#define STRING 336
|
|
Packit Service |
9ccfef |
#define SUBJECT_CATEGORIES 337
|
|
Packit Service |
9ccfef |
#define SUPPORTS 338
|
|
Packit Service |
9ccfef |
#define SYNTAX 339
|
|
Packit Service |
9ccfef |
#define TEXTUAL_CONVENTION 340
|
|
Packit Service |
9ccfef |
#define TIMETICKS 341
|
|
Packit Service |
9ccfef |
#define TRAP_TYPE 342
|
|
Packit Service |
9ccfef |
#define UNIQUENESS 343
|
|
Packit Service |
9ccfef |
#define UNITS 344
|
|
Packit Service |
9ccfef |
#define UNIVERSAL 345
|
|
Packit Service |
9ccfef |
#define UNSIGNED32 346
|
|
Packit Service |
9ccfef |
#define UNSIGNED64 347
|
|
Packit Service |
9ccfef |
#define VALUE 348
|
|
Packit Service |
9ccfef |
#define VARIABLES 349
|
|
Packit Service |
9ccfef |
#define VARIATION 350
|
|
Packit Service |
9ccfef |
#define WRITE_SYNTAX 351
|
|
Packit Service |
9ccfef |
|
|
Packit Service |
9ccfef |
|
|
Packit Service |
9ccfef |
|
|
Packit Service |
9ccfef |
|
|
Packit Service |
9ccfef |
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
|
Packit Service |
9ccfef |
typedef union YYSTYPE
|
|
Packit Service |
9ccfef |
#line 1288 "parser-smi.y"
|
|
Packit Service |
9ccfef |
{
|
|
Packit Service |
9ccfef |
char *text; /* scanned quoted text */
|
|
Packit Service |
9ccfef |
char *id; /* identifier name */
|
|
Packit Service |
9ccfef |
int err; /* actually just a dummy */
|
|
Packit Service |
9ccfef |
time_t date; /* a date value */
|
|
Packit Service |
9ccfef |
Object *objectPtr; /* object identifier */
|
|
Packit Service |
9ccfef |
SmiStatus status; /* a STATUS value */
|
|
Packit Service |
9ccfef |
SmiAccess access; /* an ACCESS value */
|
|
Packit Service |
9ccfef |
Type *typePtr;
|
|
Packit Service |
9ccfef |
List *listPtr; /* SEQUENCE and INDEX lists */
|
|
Packit Service |
9ccfef |
NamedNumber *namedNumberPtr; /* BITS or enum item */
|
|
Packit Service |
9ccfef |
Range *rangePtr; /* type restricting range */
|
|
Packit Service |
9ccfef |
SmiValue *valuePtr;
|
|
Packit Service |
9ccfef |
SmiUnsigned32 unsigned32; /* */
|
|
Packit Service |
9ccfef |
SmiInteger32 integer32; /* */
|
|
Packit Service |
9ccfef |
SmiUnsigned64 unsigned64; /* */
|
|
Packit Service |
9ccfef |
SmiInteger64 integer64; /* */
|
|
Packit Service |
9ccfef |
struct Compl compl;
|
|
Packit Service |
9ccfef |
struct Index index;
|
|
Packit Service |
9ccfef |
Module *modulePtr;
|
|
Packit Service |
9ccfef |
SubjectCategories *subjectCategoriesPtr;
|
|
Packit Service |
9ccfef |
}
|
|
Packit Service |
9ccfef |
/* Line 1489 of yacc.c. */
|
|
Packit Service |
9ccfef |
#line 264 "parser-smi.tab.h"
|
|
Packit Service |
9ccfef |
YYSTYPE;
|
|
Packit Service |
9ccfef |
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
|
Packit Service |
9ccfef |
# define YYSTYPE_IS_DECLARED 1
|
|
Packit Service |
9ccfef |
# define YYSTYPE_IS_TRIVIAL 1
|
|
Packit Service |
9ccfef |
#endif
|
|
Packit Service |
9ccfef |
|
|
Packit Service |
9ccfef |
|
|
Packit Service |
9ccfef |
|