1 /* A Bison parser, made by GNU Bison 3.5. */ 2 3 /* Bison interface for Yacc-like parsers in C 4 5 Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation, 6 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 3 of the License, or 11 (at your option) 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, see <http://www.gnu.org/licenses/>. */ 20 21 /* As a special exception, you may create a larger work that contains 22 part or all of the Bison parser skeleton and distribute that work 23 under terms of your choice, so long as that work isn't itself a 24 parser generator using the skeleton or a modified version thereof 25 as a parser skeleton. Alternatively, if you modify or redistribute 26 the parser skeleton itself, you may (at your option) remove this 27 special exception, which will cause the skeleton and the resulting 28 Bison output files to be licensed under the GNU General Public 29 License without this special exception. 30 31 This special exception was added by the Free Software Foundation in 32 version 2.2 of Bison. */ 33 34 /* Undocumented macros, especially those whose name start with YY_, 35 are private implementation details. Do not rely on them. */ 36 37 #ifndef YY_YY_DEFFILEP_H_INCLUDED 38 # define YY_YY_DEFFILEP_H_INCLUDED 39 /* Debug traces. */ 40 #ifndef YYDEBUG 41 # define YYDEBUG 0 42 #endif 43 #if YYDEBUG 44 extern int yydebug; 45 #endif 46 47 /* Token type. */ 48 #ifndef YYTOKENTYPE 49 # define YYTOKENTYPE 50 enum yytokentype 51 { 52 NAME = 258, 53 LIBRARY = 259, 54 DESCRIPTION = 260, 55 STACKSIZE_K = 261, 56 HEAPSIZE = 262, 57 CODE = 263, 58 DATAU = 264, 59 DATAL = 265, 60 SECTIONS = 266, 61 EXPORTS = 267, 62 IMPORTS = 268, 63 VERSIONK = 269, 64 BASE = 270, 65 CONSTANTU = 271, 66 CONSTANTL = 272, 67 PRIVATEU = 273, 68 PRIVATEL = 274, 69 ALIGNCOMM = 275, 70 READ = 276, 71 WRITE = 277, 72 EXECUTE = 278, 73 SHARED_K = 279, 74 NONAMEU = 280, 75 NONAMEL = 281, 76 DIRECTIVE = 282, 77 EQUAL = 283, 78 ID = 284, 79 DIGITS = 285 80 }; 81 #endif 82 /* Tokens. */ 83 #define NAME 258 84 #define LIBRARY 259 85 #define DESCRIPTION 260 86 #define STACKSIZE_K 261 87 #define HEAPSIZE 262 88 #define CODE 263 89 #define DATAU 264 90 #define DATAL 265 91 #define SECTIONS 266 92 #define EXPORTS 267 93 #define IMPORTS 268 94 #define VERSIONK 269 95 #define BASE 270 96 #define CONSTANTU 271 97 #define CONSTANTL 272 98 #define PRIVATEU 273 99 #define PRIVATEL 274 100 #define ALIGNCOMM 275 101 #define READ 276 102 #define WRITE 277 103 #define EXECUTE 278 104 #define SHARED_K 279 105 #define NONAMEU 280 106 #define NONAMEL 281 107 #define DIRECTIVE 282 108 #define EQUAL 283 109 #define ID 284 110 #define DIGITS 285 111 112 /* Value type. */ 113 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 114 union YYSTYPE 115 { 116 #line 114 "deffilep.y" 117 118 char *id; 119 const char *id_const; 120 int number; 121 bfd_vma vma; 122 char *digits; 123 124 #line 125 "deffilep.h" 125 126 }; 127 typedef union YYSTYPE YYSTYPE; 128 # define YYSTYPE_IS_TRIVIAL 1 129 # define YYSTYPE_IS_DECLARED 1 130 #endif 131 132 133 extern YYSTYPE yylval; 134 135 int yyparse (void); 136 137 #endif /* !YY_YY_DEFFILEP_H_INCLUDED */ 138