/* A Bison parser, made by GNU Bison 2.5. */ /* Bison interface for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2011 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 3 of the License, 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, see . */ /* 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. This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ /* Tokens. */ #ifndef gram_TOKENTYPE # define gram_TOKENTYPE /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum gram_tokentype { AUTO = 258, CHAR = 259, CONST = 260, DOUBLE = 261, ELLIPSIS = 262, ENUM = 263, EXTERN = 264, FLOAT = 265, IDENTIFIER = 266, INT = 267, JUNK = 268, LONG = 269, REGISTER = 270, SHORT = 271, SIGNED = 272, STATIC = 273, STRUCT = 274, TYPEDEF = 275, TYPE_NAME = 276, UNION = 277, UNSIGNED = 278, VOID = 279, VOLATILE = 280 }; #endif /* Tokens. */ #define AUTO 258 #define CHAR 259 #define CONST 260 #define DOUBLE 261 #define ELLIPSIS 262 #define ENUM 263 #define EXTERN 264 #define FLOAT 265 #define IDENTIFIER 266 #define INT 267 #define JUNK 268 #define LONG 269 #define REGISTER 270 #define SHORT 271 #define SIGNED 272 #define STATIC 273 #define STRUCT 274 #define TYPEDEF 275 #define TYPE_NAME 276 #define UNION 277 #define UNSIGNED 278 #define VOID 279 #define VOLATILE 280 #if ! defined gram_STYPE && ! defined gram_STYPE_IS_DECLARED typedef union gram_STYPE { /* Line 2068 of yacc.c */ #line 61 "codegen/gram.y" struct node_t *lv_node; const char *lv_string; /* Line 2068 of yacc.c */ #line 107 "y.tab.h" } gram_STYPE; # define gram_STYPE_IS_TRIVIAL 1 # define gram_stype gram_STYPE /* obsolescent; will be withdrawn */ # define gram_STYPE_IS_DECLARED 1 #endif extern gram_STYPE gram_lval;