1 /* A Bison parser, made by GNU Bison 2.1. */ 2 3 /* Skeleton parser for Yacc-like parsing with Bison, 4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 5 6 This program is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 2, or (at your option) 9 any later version. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with this program; if not, write to the Free Software 18 Foundation, Inc., 51 Franklin Street, Fifth Floor, 19 Boston, MA 02110-1301, USA. */ 20 21 /* As a special exception, when this file is copied by Bison into a 22 Bison output file, you may use that output file without restriction. 23 This special exception was added by the Free Software Foundation 24 in version 1.24 of Bison. */ 25 26 /* Tokens. */ 27 #ifndef YYTOKENTYPE 28 # define YYTOKENTYPE 29 /* Put the tokens into the symbol table, so that GDB and other debuggers 30 know about them. */ 31 enum yytokentype { 32 DREG = 258, 33 CREG = 259, 34 GREG = 260, 35 IMMED = 261, 36 ADDR = 262, 37 INSN = 263, 38 NUM = 264, 39 ID = 265, 40 NL = 266, 41 PNUM = 267 42 }; 43 #endif 44 /* Tokens. */ 45 #define DREG 258 46 #define CREG 259 47 #define GREG 260 48 #define IMMED 261 49 #define ADDR 262 50 #define INSN 263 51 #define NUM 264 52 #define ID 265 53 #define NL 266 54 #define PNUM 267 55 56 57 58 59 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) 60 #line 282 "itbl-parse.y" 61 typedef union YYSTYPE { 62 char *str; 63 int num; 64 int processor; 65 unsigned long val; 66 } YYSTYPE; 67 /* Line 1447 of yacc.c. */ 68 #line 69 "itbl-parse.h" 69 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 70 # define YYSTYPE_IS_DECLARED 1 71 # define YYSTYPE_IS_TRIVIAL 1 72 #endif 73 74 extern YYSTYPE yylval; 75 76 77 78