Path: blob/main/crypto/heimdal/lib/asn1/asn1parse.h
34889 views
/* A Bison parser, made by GNU Bison 2.3. */12/* Skeleton interface for Bison's Yacc-like parsers in C34Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 20065Free Software Foundation, Inc.67This program is free software; you can redistribute it and/or modify8it under the terms of the GNU General Public License as published by9the Free Software Foundation; either version 2, or (at your option)10any later version.1112This program is distributed in the hope that it will be useful,13but WITHOUT ANY WARRANTY; without even the implied warranty of14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the15GNU General Public License for more details.1617You should have received a copy of the GNU General Public License18along with this program; if not, write to the Free Software19Foundation, Inc., 51 Franklin Street, Fifth Floor,20Boston, MA 02110-1301, USA. */2122/* As a special exception, you may create a larger work that contains23part or all of the Bison parser skeleton and distribute that work24under terms of your choice, so long as that work isn't itself a25parser generator using the skeleton or a modified version thereof26as a parser skeleton. Alternatively, if you modify or redistribute27the parser skeleton itself, you may (at your option) remove this28special exception, which will cause the skeleton and the resulting29Bison output files to be licensed under the GNU General Public30License without this special exception.3132This special exception was added by the Free Software Foundation in33version 2.2 of Bison. */3435/* Tokens. */36#ifndef YYTOKENTYPE37# define YYTOKENTYPE38/* Put the tokens into the symbol table, so that GDB and other debuggers39know about them. */40enum yytokentype {41kw_ABSENT = 258,42kw_ABSTRACT_SYNTAX = 259,43kw_ALL = 260,44kw_APPLICATION = 261,45kw_AUTOMATIC = 262,46kw_BEGIN = 263,47kw_BIT = 264,48kw_BMPString = 265,49kw_BOOLEAN = 266,50kw_BY = 267,51kw_CHARACTER = 268,52kw_CHOICE = 269,53kw_CLASS = 270,54kw_COMPONENT = 271,55kw_COMPONENTS = 272,56kw_CONSTRAINED = 273,57kw_CONTAINING = 274,58kw_DEFAULT = 275,59kw_DEFINITIONS = 276,60kw_EMBEDDED = 277,61kw_ENCODED = 278,62kw_END = 279,63kw_ENUMERATED = 280,64kw_EXCEPT = 281,65kw_EXPLICIT = 282,66kw_EXPORTS = 283,67kw_EXTENSIBILITY = 284,68kw_EXTERNAL = 285,69kw_FALSE = 286,70kw_FROM = 287,71kw_GeneralString = 288,72kw_GeneralizedTime = 289,73kw_GraphicString = 290,74kw_IA5String = 291,75kw_IDENTIFIER = 292,76kw_IMPLICIT = 293,77kw_IMPLIED = 294,78kw_IMPORTS = 295,79kw_INCLUDES = 296,80kw_INSTANCE = 297,81kw_INTEGER = 298,82kw_INTERSECTION = 299,83kw_ISO646String = 300,84kw_MAX = 301,85kw_MIN = 302,86kw_MINUS_INFINITY = 303,87kw_NULL = 304,88kw_NumericString = 305,89kw_OBJECT = 306,90kw_OCTET = 307,91kw_OF = 308,92kw_OPTIONAL = 309,93kw_ObjectDescriptor = 310,94kw_PATTERN = 311,95kw_PDV = 312,96kw_PLUS_INFINITY = 313,97kw_PRESENT = 314,98kw_PRIVATE = 315,99kw_PrintableString = 316,100kw_REAL = 317,101kw_RELATIVE_OID = 318,102kw_SEQUENCE = 319,103kw_SET = 320,104kw_SIZE = 321,105kw_STRING = 322,106kw_SYNTAX = 323,107kw_T61String = 324,108kw_TAGS = 325,109kw_TRUE = 326,110kw_TYPE_IDENTIFIER = 327,111kw_TeletexString = 328,112kw_UNION = 329,113kw_UNIQUE = 330,114kw_UNIVERSAL = 331,115kw_UTCTime = 332,116kw_UTF8String = 333,117kw_UniversalString = 334,118kw_VideotexString = 335,119kw_VisibleString = 336,120kw_WITH = 337,121RANGE = 338,122EEQUAL = 339,123ELLIPSIS = 340,124IDENTIFIER = 341,125referencename = 342,126STRING = 343,127NUMBER = 344128};129#endif130/* Tokens. */131#define kw_ABSENT 258132#define kw_ABSTRACT_SYNTAX 259133#define kw_ALL 260134#define kw_APPLICATION 261135#define kw_AUTOMATIC 262136#define kw_BEGIN 263137#define kw_BIT 264138#define kw_BMPString 265139#define kw_BOOLEAN 266140#define kw_BY 267141#define kw_CHARACTER 268142#define kw_CHOICE 269143#define kw_CLASS 270144#define kw_COMPONENT 271145#define kw_COMPONENTS 272146#define kw_CONSTRAINED 273147#define kw_CONTAINING 274148#define kw_DEFAULT 275149#define kw_DEFINITIONS 276150#define kw_EMBEDDED 277151#define kw_ENCODED 278152#define kw_END 279153#define kw_ENUMERATED 280154#define kw_EXCEPT 281155#define kw_EXPLICIT 282156#define kw_EXPORTS 283157#define kw_EXTENSIBILITY 284158#define kw_EXTERNAL 285159#define kw_FALSE 286160#define kw_FROM 287161#define kw_GeneralString 288162#define kw_GeneralizedTime 289163#define kw_GraphicString 290164#define kw_IA5String 291165#define kw_IDENTIFIER 292166#define kw_IMPLICIT 293167#define kw_IMPLIED 294168#define kw_IMPORTS 295169#define kw_INCLUDES 296170#define kw_INSTANCE 297171#define kw_INTEGER 298172#define kw_INTERSECTION 299173#define kw_ISO646String 300174#define kw_MAX 301175#define kw_MIN 302176#define kw_MINUS_INFINITY 303177#define kw_NULL 304178#define kw_NumericString 305179#define kw_OBJECT 306180#define kw_OCTET 307181#define kw_OF 308182#define kw_OPTIONAL 309183#define kw_ObjectDescriptor 310184#define kw_PATTERN 311185#define kw_PDV 312186#define kw_PLUS_INFINITY 313187#define kw_PRESENT 314188#define kw_PRIVATE 315189#define kw_PrintableString 316190#define kw_REAL 317191#define kw_RELATIVE_OID 318192#define kw_SEQUENCE 319193#define kw_SET 320194#define kw_SIZE 321195#define kw_STRING 322196#define kw_SYNTAX 323197#define kw_T61String 324198#define kw_TAGS 325199#define kw_TRUE 326200#define kw_TYPE_IDENTIFIER 327201#define kw_TeletexString 328202#define kw_UNION 329203#define kw_UNIQUE 330204#define kw_UNIVERSAL 331205#define kw_UTCTime 332206#define kw_UTF8String 333207#define kw_UniversalString 334208#define kw_VideotexString 335209#define kw_VisibleString 336210#define kw_WITH 337211#define RANGE 338212#define EEQUAL 339213#define ELLIPSIS 340214#define IDENTIFIER 341215#define referencename 342216#define STRING 343217#define NUMBER 344218219220221222#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED223typedef union YYSTYPE224#line 71 "asn1parse.y"225{226int64_t constant;227struct value *value;228struct range *range;229char *name;230Type *type;231Member *member;232struct objid *objid;233char *defval;234struct string_list *sl;235struct tagtype tag;236struct memhead *members;237struct constraint_spec *constraint_spec;238}239/* Line 1529 of yacc.c. */240#line 242 "asn1parse.h"241YYSTYPE;242# define yystype YYSTYPE /* obsolescent; will be withdrawn */243# define YYSTYPE_IS_DECLARED 1244# define YYSTYPE_IS_TRIVIAL 1245#endif246247extern YYSTYPE yylval;248249250251