1 /* A Bison parser, made by GNU Bison 3.0.4. */ 2 3 /* Bison interface for Yacc-like parsers in C 4 5 Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. 6 7 This program is free software: you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by 9 the Free Software Foundation, either version 3 of the License, or 10 (at your option) any later version. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 19 20 /* As a special exception, you may create a larger work that contains 21 part or all of the Bison parser skeleton and distribute that work 22 under terms of your choice, so long as that work isn't itself a 23 parser generator using the skeleton or a modified version thereof 24 as a parser skeleton. Alternatively, if you modify or redistribute 25 the parser skeleton itself, you may (at your option) remove this 26 special exception, which will cause the skeleton and the resulting 27 Bison output files to be licensed under the GNU General Public 28 License without this special exception. 29 30 This special exception was added by the Free Software Foundation in 31 version 2.2 of Bison. */ 32 33 #ifndef YY_YY_ASM_AS1600_TAB_H_INCLUDED 34 # define YY_YY_ASM_AS1600_TAB_H_INCLUDED 35 /* Debug traces. */ 36 #ifndef YYDEBUG 37 # define YYDEBUG 0 38 #endif 39 #if YYDEBUG 40 extern int yydebug; 41 #endif 42 43 /* Token type. */ 44 #ifndef YYTOKENTYPE 45 # define YYTOKENTYPE 46 enum yytokentype 47 { 48 CP1600_REG = 258, 49 KOC_BDEF = 259, 50 KOC_ELSE = 260, 51 KOC_END = 261, 52 KOC_ENDI = 262, 53 KOC_EQU = 263, 54 KOC_IF = 264, 55 KOC_INCLUDE = 265, 56 KOC_ORG = 266, 57 KOC_RESM = 267, 58 KOC_SDEF = 268, 59 KOC_SET = 269, 60 KOC_WDEF = 270, 61 KOC_CHSET = 271, 62 KOC_CHDEF = 272, 63 KOC_CHUSE = 273, 64 KOC_opcode = 274, 65 KOC_opcode_i = 275, 66 KOC_relbr = 276, 67 KOC_relbr_x = 277, 68 KOC_SDBD = 278, 69 KOC_ROMW = 279, 70 KOC_PROC = 280, 71 KOC_ENDP = 281, 72 KOC_STRUCT = 282, 73 KOC_ENDS = 283, 74 KOC_MEMATTR = 284, 75 KOC_DDEF = 285, 76 KOC_RPT = 286, 77 KOC_ENDR = 287, 78 KOC_USRERR = 288, 79 KOC_LIST = 289, 80 KOC_QEQU = 290, 81 KOC_QSET = 291, 82 KOC_MACERR = 292, 83 KOC_BRKIF = 293, 84 KOC_CMSG = 294, 85 KOC_SMSG = 295, 86 KOC_WMSG = 296, 87 KOC_CFGVAR = 297, 88 KOC_SRCFILE = 298, 89 KOC_LISTCOL = 299, 90 KOC_ERR_IF_OVERWRITTEN = 300, 91 KOC_FORCE_OVERWRITE = 301, 92 CONSTANT = 302, 93 EOL = 303, 94 KEOP_AND = 304, 95 KEOP_DEFINED = 305, 96 KEOP_EQ = 306, 97 KEOP_GE = 307, 98 KEOP_GT = 308, 99 KEOP_HIGH = 309, 100 KEOP_LE = 310, 101 KEOP_LOW = 311, 102 KEOP_LT = 312, 103 KEOP_MOD = 313, 104 KEOP_MUN = 314, 105 KEOP_NE = 315, 106 KEOP_NOT = 316, 107 KEOP_OR = 317, 108 KEOP_SHL = 318, 109 KEOP_SHR = 319, 110 KEOP_SHRU = 320, 111 KEOP_ROTL = 321, 112 KEOP_ROTR = 322, 113 KEOP_XOR = 323, 114 KEOP_locctr = 324, 115 KEOP_TODAY_STR = 325, 116 KEOP_TODAY_VAL = 326, 117 KEOP_STRLEN = 327, 118 KEOP_ASC = 328, 119 KEOP_CLASSIFY = 329, 120 LABEL = 330, 121 STRING = 331, 122 QCHAR = 332, 123 SYMBOL = 333, 124 FEATURE = 334, 125 KEOP_EXPMAC = 335, 126 KTK_invalid = 336, 127 EXPRLIST = 337 128 }; 129 #endif 130 131 /* Value type. */ 132 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 133 134 union YYSTYPE 135 { 136 #line 661 "asm/as1600_real.y" /* yacc.c:1909 */ 137 138 int intv; 139 int longv; 140 char *strng; 141 struct symel *symb; 142 struct slidx slidx; 143 intvec_t *intvec; 144 145 #line 146 "asm/as1600.tab.h" /* yacc.c:1909 */ 146 }; 147 148 typedef union YYSTYPE YYSTYPE; 149 # define YYSTYPE_IS_TRIVIAL 1 150 # define YYSTYPE_IS_DECLARED 1 151 #endif 152 153 154 extern YYSTYPE yylval; 155 156 int yyparse (void); 157 158 #endif /* !YY_YY_ASM_AS1600_TAB_H_INCLUDED */ 159