2013-12-08 20:49:56 -07:00
|
|
|
/* A Bison parser, made by GNU Bison 2.3. */
|
2012-02-03 08:53:51 -07:00
|
|
|
|
2013-12-08 20:49:56 -07:00
|
|
|
/* Skeleton interface for Bison's Yacc-like parsers in C
|
|
|
|
|
|
|
|
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
|
|
|
Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
2012-02-03 08:53:51 -07:00
|
|
|
it under the terms of the GNU General Public License as published by
|
2013-12-08 20:49:56 -07:00
|
|
|
the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
any later version.
|
|
|
|
|
2012-02-03 08:53:51 -07:00
|
|
|
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.
|
2013-12-08 20:49:56 -07:00
|
|
|
|
2012-02-03 08:53:51 -07:00
|
|
|
You should have received a copy of the GNU General Public License
|
2013-12-08 20:49:56 -07:00
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
Boston, MA 02110-1301, USA. */
|
2012-02-03 08:53:51 -07:00
|
|
|
|
|
|
|
/* As a special exception, you may create a larger work that contains
|
|
|
|
part or all of the Bison parser skeleton and distribute that work
|
|
|
|
under terms of your choice, so long as that work isn't itself a
|
|
|
|
parser generator using the skeleton or a modified version thereof
|
|
|
|
as a parser skeleton. Alternatively, if you modify or redistribute
|
|
|
|
the parser skeleton itself, you may (at your option) remove this
|
|
|
|
special exception, which will cause the skeleton and the resulting
|
|
|
|
Bison output files to be licensed under the GNU General Public
|
|
|
|
License without this special exception.
|
2013-12-08 20:49:56 -07:00
|
|
|
|
2012-02-03 08:53:51 -07:00
|
|
|
This special exception was added by the Free Software Foundation in
|
|
|
|
version 2.2 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 {
|
|
|
|
LTYPE1 = 258,
|
|
|
|
LTYPE2 = 259,
|
|
|
|
LTYPE3 = 260,
|
|
|
|
LTYPE4 = 261,
|
|
|
|
LTYPE5 = 262,
|
|
|
|
LTYPE6 = 263,
|
|
|
|
LTYPE7 = 264,
|
|
|
|
LTYPE8 = 265,
|
|
|
|
LTYPE9 = 266,
|
|
|
|
LTYPEA = 267,
|
|
|
|
LTYPEB = 268,
|
|
|
|
LTYPEC = 269,
|
|
|
|
LTYPED = 270,
|
|
|
|
LTYPEE = 271,
|
2013-07-18 13:38:19 -06:00
|
|
|
LTYPEG = 272,
|
|
|
|
LTYPEH = 273,
|
|
|
|
LTYPEI = 274,
|
|
|
|
LTYPEJ = 275,
|
|
|
|
LTYPEK = 276,
|
|
|
|
LTYPEL = 277,
|
|
|
|
LTYPEM = 278,
|
|
|
|
LTYPEN = 279,
|
|
|
|
LTYPEBX = 280,
|
|
|
|
LTYPEPLD = 281,
|
|
|
|
LCONST = 282,
|
|
|
|
LSP = 283,
|
|
|
|
LSB = 284,
|
|
|
|
LFP = 285,
|
|
|
|
LPC = 286,
|
|
|
|
LTYPEX = 287,
|
|
|
|
LTYPEPC = 288,
|
|
|
|
LTYPEF = 289,
|
2013-07-16 14:23:28 -06:00
|
|
|
LR = 290,
|
|
|
|
LREG = 291,
|
|
|
|
LF = 292,
|
|
|
|
LFREG = 293,
|
|
|
|
LC = 294,
|
|
|
|
LCREG = 295,
|
|
|
|
LPSR = 296,
|
|
|
|
LFCR = 297,
|
|
|
|
LCOND = 298,
|
|
|
|
LS = 299,
|
|
|
|
LAT = 300,
|
|
|
|
LFCONST = 301,
|
|
|
|
LSCONST = 302,
|
|
|
|
LNAME = 303,
|
|
|
|
LLAB = 304,
|
|
|
|
LVAR = 305
|
2012-02-03 08:53:51 -07:00
|
|
|
};
|
|
|
|
#endif
|
|
|
|
/* Tokens. */
|
|
|
|
#define LTYPE1 258
|
|
|
|
#define LTYPE2 259
|
|
|
|
#define LTYPE3 260
|
|
|
|
#define LTYPE4 261
|
|
|
|
#define LTYPE5 262
|
|
|
|
#define LTYPE6 263
|
|
|
|
#define LTYPE7 264
|
|
|
|
#define LTYPE8 265
|
|
|
|
#define LTYPE9 266
|
|
|
|
#define LTYPEA 267
|
|
|
|
#define LTYPEB 268
|
|
|
|
#define LTYPEC 269
|
|
|
|
#define LTYPED 270
|
|
|
|
#define LTYPEE 271
|
2013-07-18 13:38:19 -06:00
|
|
|
#define LTYPEG 272
|
|
|
|
#define LTYPEH 273
|
|
|
|
#define LTYPEI 274
|
|
|
|
#define LTYPEJ 275
|
|
|
|
#define LTYPEK 276
|
|
|
|
#define LTYPEL 277
|
|
|
|
#define LTYPEM 278
|
|
|
|
#define LTYPEN 279
|
|
|
|
#define LTYPEBX 280
|
|
|
|
#define LTYPEPLD 281
|
|
|
|
#define LCONST 282
|
|
|
|
#define LSP 283
|
|
|
|
#define LSB 284
|
|
|
|
#define LFP 285
|
|
|
|
#define LPC 286
|
|
|
|
#define LTYPEX 287
|
|
|
|
#define LTYPEPC 288
|
|
|
|
#define LTYPEF 289
|
2013-07-16 14:23:28 -06:00
|
|
|
#define LR 290
|
|
|
|
#define LREG 291
|
|
|
|
#define LF 292
|
|
|
|
#define LFREG 293
|
|
|
|
#define LC 294
|
|
|
|
#define LCREG 295
|
|
|
|
#define LPSR 296
|
|
|
|
#define LFCR 297
|
|
|
|
#define LCOND 298
|
|
|
|
#define LS 299
|
|
|
|
#define LAT 300
|
|
|
|
#define LFCONST 301
|
|
|
|
#define LSCONST 302
|
|
|
|
#define LNAME 303
|
|
|
|
#define LLAB 304
|
|
|
|
#define LVAR 305
|
2012-02-03 08:53:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
|
|
|
typedef union YYSTYPE
|
2013-07-19 12:19:18 -06:00
|
|
|
#line 39 "a.y"
|
2013-12-08 20:49:56 -07:00
|
|
|
{
|
2012-02-03 08:53:51 -07:00
|
|
|
Sym *sym;
|
|
|
|
int32 lval;
|
|
|
|
double dval;
|
|
|
|
char sval[8];
|
2013-12-08 20:49:56 -07:00
|
|
|
Addr addr;
|
|
|
|
}
|
|
|
|
/* Line 1529 of yacc.c. */
|
|
|
|
#line 157 "y.tab.h"
|
|
|
|
YYSTYPE;
|
2012-02-03 08:53:51 -07:00
|
|
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
|
|
|
# define YYSTYPE_IS_DECLARED 1
|
2013-12-08 20:49:56 -07:00
|
|
|
# define YYSTYPE_IS_TRIVIAL 1
|
2012-02-03 08:53:51 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
extern YYSTYPE yylval;
|
|
|
|
|