1*e992f068Schristos /* A Bison parser, made by GNU Bison 3.8.2. */ 275fd0b74Schristos 3ede78133Schristos /* Bison interface for Yacc-like parsers in C 475fd0b74Schristos 5*e992f068Schristos Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, 6*e992f068Schristos Inc. 775fd0b74Schristos 8ede78133Schristos This program is free software: you can redistribute it and/or modify 975fd0b74Schristos it under the terms of the GNU General Public License as published by 10ede78133Schristos the Free Software Foundation, either version 3 of the License, or 11ede78133Schristos (at your option) any later version. 1275fd0b74Schristos 1375fd0b74Schristos This program is distributed in the hope that it will be useful, 1475fd0b74Schristos but WITHOUT ANY WARRANTY; without even the implied warranty of 1575fd0b74Schristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1675fd0b74Schristos GNU General Public License for more details. 1775fd0b74Schristos 1875fd0b74Schristos You should have received a copy of the GNU General Public License 19*e992f068Schristos along with this program. If not, see <https://www.gnu.org/licenses/>. */ 2075fd0b74Schristos 2175fd0b74Schristos /* As a special exception, you may create a larger work that contains 2275fd0b74Schristos part or all of the Bison parser skeleton and distribute that work 2375fd0b74Schristos under terms of your choice, so long as that work isn't itself a 2475fd0b74Schristos parser generator using the skeleton or a modified version thereof 2575fd0b74Schristos as a parser skeleton. Alternatively, if you modify or redistribute 2675fd0b74Schristos the parser skeleton itself, you may (at your option) remove this 2775fd0b74Schristos special exception, which will cause the skeleton and the resulting 2875fd0b74Schristos Bison output files to be licensed under the GNU General Public 2975fd0b74Schristos License without this special exception. 3075fd0b74Schristos 3175fd0b74Schristos This special exception was added by the Free Software Foundation in 3275fd0b74Schristos version 2.2 of Bison. */ 3375fd0b74Schristos 34*e992f068Schristos /* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual, 35*e992f068Schristos especially those whose name start with YY_ or yy_. They are 36*e992f068Schristos private implementation details that can be changed or removed. */ 37*e992f068Schristos 38ede78133Schristos #ifndef YY_YY_DEFPARSE_H_INCLUDED 39ede78133Schristos # define YY_YY_DEFPARSE_H_INCLUDED 40ede78133Schristos /* Debug traces. */ 41ede78133Schristos #ifndef YYDEBUG 42ede78133Schristos # define YYDEBUG 0 43ede78133Schristos #endif 44ede78133Schristos #if YYDEBUG 45ede78133Schristos extern int yydebug; 46ede78133Schristos #endif 47ede78133Schristos 48*e992f068Schristos /* Token kinds. */ 4975fd0b74Schristos #ifndef YYTOKENTYPE 5075fd0b74Schristos # define YYTOKENTYPE 51ede78133Schristos enum yytokentype 52ede78133Schristos { 53*e992f068Schristos YYEMPTY = -2, 54*e992f068Schristos YYEOF = 0, /* "end of file" */ 55*e992f068Schristos YYerror = 256, /* error */ 56*e992f068Schristos YYUNDEF = 257, /* "invalid token" */ 57*e992f068Schristos NAME = 258, /* NAME */ 58*e992f068Schristos LIBRARY = 259, /* LIBRARY */ 59*e992f068Schristos DESCRIPTION = 260, /* DESCRIPTION */ 60*e992f068Schristos STACKSIZE = 261, /* STACKSIZE */ 61*e992f068Schristos HEAPSIZE = 262, /* HEAPSIZE */ 62*e992f068Schristos CODE = 263, /* CODE */ 63*e992f068Schristos DATA = 264, /* DATA */ 64*e992f068Schristos SECTIONS = 265, /* SECTIONS */ 65*e992f068Schristos EXPORTS = 266, /* EXPORTS */ 66*e992f068Schristos IMPORTS = 267, /* IMPORTS */ 67*e992f068Schristos VERSIONK = 268, /* VERSIONK */ 68*e992f068Schristos BASE = 269, /* BASE */ 69*e992f068Schristos CONSTANT = 270, /* CONSTANT */ 70*e992f068Schristos READ = 271, /* READ */ 71*e992f068Schristos WRITE = 272, /* WRITE */ 72*e992f068Schristos EXECUTE = 273, /* EXECUTE */ 73*e992f068Schristos SHARED = 274, /* SHARED */ 74*e992f068Schristos NONSHARED = 275, /* NONSHARED */ 75*e992f068Schristos NONAME = 276, /* NONAME */ 76*e992f068Schristos PRIVATE = 277, /* PRIVATE */ 77*e992f068Schristos SINGLE = 278, /* SINGLE */ 78*e992f068Schristos MULTIPLE = 279, /* MULTIPLE */ 79*e992f068Schristos INITINSTANCE = 280, /* INITINSTANCE */ 80*e992f068Schristos INITGLOBAL = 281, /* INITGLOBAL */ 81*e992f068Schristos TERMINSTANCE = 282, /* TERMINSTANCE */ 82*e992f068Schristos TERMGLOBAL = 283, /* TERMGLOBAL */ 83*e992f068Schristos EQUAL = 284, /* EQUAL */ 84*e992f068Schristos ID = 285, /* ID */ 85*e992f068Schristos NUMBER = 286 /* NUMBER */ 8675fd0b74Schristos }; 87*e992f068Schristos typedef enum yytokentype yytoken_kind_t; 8875fd0b74Schristos #endif 89*e992f068Schristos /* Token kinds. */ 90*e992f068Schristos #define YYEMPTY -2 91*e992f068Schristos #define YYEOF 0 92*e992f068Schristos #define YYerror 256 93*e992f068Schristos #define YYUNDEF 257 9475fd0b74Schristos #define NAME 258 9575fd0b74Schristos #define LIBRARY 259 9675fd0b74Schristos #define DESCRIPTION 260 9775fd0b74Schristos #define STACKSIZE 261 9875fd0b74Schristos #define HEAPSIZE 262 9975fd0b74Schristos #define CODE 263 10075fd0b74Schristos #define DATA 264 10175fd0b74Schristos #define SECTIONS 265 10275fd0b74Schristos #define EXPORTS 266 10375fd0b74Schristos #define IMPORTS 267 10475fd0b74Schristos #define VERSIONK 268 10575fd0b74Schristos #define BASE 269 10675fd0b74Schristos #define CONSTANT 270 10775fd0b74Schristos #define READ 271 10875fd0b74Schristos #define WRITE 272 10975fd0b74Schristos #define EXECUTE 273 11075fd0b74Schristos #define SHARED 274 11175fd0b74Schristos #define NONSHARED 275 11275fd0b74Schristos #define NONAME 276 11375fd0b74Schristos #define PRIVATE 277 11475fd0b74Schristos #define SINGLE 278 11575fd0b74Schristos #define MULTIPLE 279 11675fd0b74Schristos #define INITINSTANCE 280 11775fd0b74Schristos #define INITGLOBAL 281 11875fd0b74Schristos #define TERMINSTANCE 282 11975fd0b74Schristos #define TERMGLOBAL 283 12075fd0b74Schristos #define EQUAL 284 12175fd0b74Schristos #define ID 285 12275fd0b74Schristos #define NUMBER 286 12375fd0b74Schristos 124ede78133Schristos /* Value type. */ 12575fd0b74Schristos #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 126ede78133Schristos union YYSTYPE 12775fd0b74Schristos { 128*e992f068Schristos #line 28 "defparse.y" 129ede78133Schristos 13075fd0b74Schristos char *id; 13175fd0b74Schristos const char *id_const; 13275fd0b74Schristos int number; 133ede78133Schristos 134*e992f068Schristos #line 135 "defparse.h" 135ede78133Schristos 136*e992f068Schristos }; 137ede78133Schristos typedef union YYSTYPE YYSTYPE; 13875fd0b74Schristos # define YYSTYPE_IS_TRIVIAL 1 139ede78133Schristos # define YYSTYPE_IS_DECLARED 1 14075fd0b74Schristos #endif 14175fd0b74Schristos 142ede78133Schristos 14375fd0b74Schristos extern YYSTYPE yylval; 14475fd0b74Schristos 145*e992f068Schristos 146ede78133Schristos int yyparse (void); 147ede78133Schristos 148*e992f068Schristos 149ede78133Schristos #endif /* !YY_YY_DEFPARSE_H_INCLUDED */ 150