y.tab.h 3.24 KB
Newer Older
1

Russ Cox's avatar
Russ Cox committed
2
/* A Bison parser, made by GNU Bison 2.4.1.  */
3

Russ Cox's avatar
Russ Cox committed
4 5 6
/* Skeleton interface for Bison's Yacc-like parsers in C
   
      Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
7
   Free Software Foundation, Inc.
Russ Cox's avatar
Russ Cox committed
8 9
   
   This program is free software: you can redistribute it and/or modify
10
   it under the terms of the GNU General Public License as published by
Russ Cox's avatar
Russ Cox committed
11 12 13
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.
   
14 15 16 17
   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.
Russ Cox's avatar
Russ Cox committed
18
   
19
   You should have received a copy of the GNU General Public License
Russ Cox's avatar
Russ Cox committed
20
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
21 22 23 24 25 26 27 28 29 30

/* 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.
Russ Cox's avatar
Russ Cox committed
31
   
32 33 34
   This special exception was added by the Free Software Foundation in
   version 2.2 of Bison.  */

Russ Cox's avatar
Russ Cox committed
35

36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
/* Tokens.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
   /* Put the tokens into the symbol table, so that GDB and other debuggers
      know about them.  */
   enum yytokentype {
     LTYPE0 = 258,
     LTYPE1 = 259,
     LTYPE2 = 260,
     LTYPE3 = 261,
     LTYPE4 = 262,
     LTYPEC = 263,
     LTYPED = 264,
     LTYPEN = 265,
     LTYPER = 266,
     LTYPET = 267,
     LTYPES = 268,
     LTYPEM = 269,
     LTYPEI = 270,
     LTYPEG = 271,
Russ Cox's avatar
Russ Cox committed
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
     LTYPEXC = 272,
     LCONST = 273,
     LFP = 274,
     LPC = 275,
     LSB = 276,
     LBREG = 277,
     LLREG = 278,
     LSREG = 279,
     LFREG = 280,
     LFCONST = 281,
     LSCONST = 282,
     LSP = 283,
     LNAME = 284,
     LLAB = 285,
     LVAR = 286
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
   };
#endif
/* Tokens.  */
#define LTYPE0 258
#define LTYPE1 259
#define LTYPE2 260
#define LTYPE3 261
#define LTYPE4 262
#define LTYPEC 263
#define LTYPED 264
#define LTYPEN 265
#define LTYPER 266
#define LTYPET 267
#define LTYPES 268
#define LTYPEM 269
#define LTYPEI 270
#define LTYPEG 271
Russ Cox's avatar
Russ Cox committed
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
#define LTYPEXC 272
#define LCONST 273
#define LFP 274
#define LPC 275
#define LSB 276
#define LBREG 277
#define LLREG 278
#define LSREG 279
#define LFREG 280
#define LFCONST 281
#define LSCONST 282
#define LSP 283
#define LNAME 284
#define LLAB 285
#define LVAR 286
103 104 105 106 107 108




#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
109
{
Russ Cox's avatar
Russ Cox committed
110 111 112 113

/* Line 1676 of yacc.c  */
#line 37 "a.y"

114 115 116 117 118 119 120 121 122 123
	Sym	*sym;
	int32	lval;
	struct {
		int32 v1;
		int32 v2;
	} con2;
	double	dval;
	char	sval[8];
	Gen	gen;
	Gen2	gen2;
Russ Cox's avatar
Russ Cox committed
124 125 126 127 128 129 130



/* Line 1676 of yacc.c  */
#line 129 "y.tab.h"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
131 132 133 134 135 136
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif

extern YYSTYPE yylval;

Russ Cox's avatar
Russ Cox committed
137