/* A Bison parser, made by GNU Bison 2.1. */ /* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison. */ /* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum yytokentype { REGISTER = 258, KOC_BDEF = 259, KOC_ELSE = 260, KOC_END = 261, KOC_ENDI = 262, KOC_EQU = 263, KOC_IF = 264, KOC_INCLUDE = 265, KOC_ORG = 266, KOC_RESM = 267, KOC_SDEF = 268, KOC_SET = 269, KOC_WDEF = 270, KOC_CHSET = 271, KOC_CHDEF = 272, KOC_CHUSE = 273, KOC_opcode = 274, KOC_opcode_i = 275, KOC_relbr = 276, KOC_relbr_x = 277, KOC_SDBD = 278, KOC_ROMW = 279, KOC_PROC = 280, KOC_ENDP = 281, KOC_STRUCT = 282, KOC_ENDS = 283, KOC_MEMATTR = 284, KOC_DDEF = 285, KOC_RPT = 286, KOC_ENDR = 287, KOC_USRERR = 288, KOC_LIST = 289, CONSTANT = 290, EOL = 291, KEOP_AND = 292, KEOP_DEFINED = 293, KEOP_EQ = 294, KEOP_GE = 295, KEOP_GT = 296, KEOP_HIGH = 297, KEOP_LE = 298, KEOP_LOW = 299, KEOP_LT = 300, KEOP_MOD = 301, KEOP_MUN = 302, KEOP_NE = 303, KEOP_NOT = 304, KEOP_OR = 305, KEOP_SHL = 306, KEOP_SHR = 307, KEOP_XOR = 308, KEOP_locctr = 309, KEOP_STRLEN = 310, KEOP_ASC = 311, LABEL = 312, STRING = 313, SYMBOL = 314, FEATURE = 315, KTK_invalid = 316 }; #endif /* Tokens. */ #define REGISTER 258 #define KOC_BDEF 259 #define KOC_ELSE 260 #define KOC_END 261 #define KOC_ENDI 262 #define KOC_EQU 263 #define KOC_IF 264 #define KOC_INCLUDE 265 #define KOC_ORG 266 #define KOC_RESM 267 #define KOC_SDEF 268 #define KOC_SET 269 #define KOC_WDEF 270 #define KOC_CHSET 271 #define KOC_CHDEF 272 #define KOC_CHUSE 273 #define KOC_opcode 274 #define KOC_opcode_i 275 #define KOC_relbr 276 #define KOC_relbr_x 277 #define KOC_SDBD 278 #define KOC_ROMW 279 #define KOC_PROC 280 #define KOC_ENDP 281 #define KOC_STRUCT 282 #define KOC_ENDS 283 #define KOC_MEMATTR 284 #define KOC_DDEF 285 #define KOC_RPT 286 #define KOC_ENDR 287 #define KOC_USRERR 288 #define KOC_LIST 289 #define CONSTANT 290 #define EOL 291 #define KEOP_AND 292 #define KEOP_DEFINED 293 #define KEOP_EQ 294 #define KEOP_GE 295 #define KEOP_GT 296 #define KEOP_HIGH 297 #define KEOP_LE 298 #define KEOP_LOW 299 #define KEOP_LT 300 #define KEOP_MOD 301 #define KEOP_MUN 302 #define KEOP_NE 303 #define KEOP_NOT 304 #define KEOP_OR 305 #define KEOP_SHL 306 #define KEOP_SHR 307 #define KEOP_XOR 308 #define KEOP_locctr 309 #define KEOP_STRLEN 310 #define KEOP_ASC 311 #define LABEL 312 #define STRING 313 #define SYMBOL 314 #define FEATURE 315 #define KTK_invalid 316 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) #line 439 "asm/as1600_real.y" typedef union YYSTYPE { int intv; long longv; char *strng; struct symel *symb; } YYSTYPE; /* Line 1447 of yacc.c. */ #line 167 "asm/as1600.tab.h" # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 #endif extern YYSTYPE yylval;