/* A Bison parser, made by GNU Bison 2.3. */ /* 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 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, 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 YYTOKENTYPE # define YYTOKENTYPE /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum yytokentype { TK_ERROR = 258, TK_EOF = 259, TK_COMA = 260, TK_LPAR = 261, TK_RPAR = 262, TK_AMP = 263, TK_COLON = 264, TK_LBRA = 265, TK_RBRA = 266, TK_DOLLAR = 267, TK_STAR = 268, TK_EQUAL = 269, TK_INT = 270, TK_REAL = 271, TK_IDENT = 272, TK_STRING = 273, FILE_NAME = 274, PL_CODE = 275, PL_JUMP = 276, PL_CALL = 277, PL_FAIL = 278, PL_RET = 279, JUMP = 280, MOVE = 281, CALL_C = 282, JMP_REG = 283, RET_REG = 284, JUMP_RET = 285, FAIL_RET = 286, TRUE_RET = 287, FAIL_C_RET = 288, TRUE_C_RET = 289, MOVE_RET = 290, C_CODE = 291, C_RET = 292, LONG = 293, LOCAL = 294, GLOBAL = 295, REG = 296, CST = 297 }; #endif /* Tokens. */ #define TK_ERROR 258 #define TK_EOF 259 #define TK_COMA 260 #define TK_LPAR 261 #define TK_RPAR 262 #define TK_AMP 263 #define TK_COLON 264 #define TK_LBRA 265 #define TK_RBRA 266 #define TK_DOLLAR 267 #define TK_STAR 268 #define TK_EQUAL 269 #define TK_INT 270 #define TK_REAL 271 #define TK_IDENT 272 #define TK_STRING 273 #define FILE_NAME 274 #define PL_CODE 275 #define PL_JUMP 276 #define PL_CALL 277 #define PL_FAIL 278 #define PL_RET 279 #define JUMP 280 #define MOVE 281 #define CALL_C 282 #define JMP_REG 283 #define RET_REG 284 #define JUMP_RET 285 #define FAIL_RET 286 #define TRUE_RET 287 #define FAIL_C_RET 288 #define TRUE_C_RET 289 #define MOVE_RET 290 #define C_CODE 291 #define C_RET 292 #define LONG 293 #define LOCAL 294 #define GLOBAL 295 #define REG 296 #define CST 297 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE #line 23 "parser.y" { long num; float fnum; char *str; InitLongList_t initlonglist; struct { short type; long value; } initlongval; struct { char name; long no; } reg; struct { char *ident; long trail; } ident; } /* Line 1529 of yacc.c. */ #line 152 "parser.h" YYSTYPE; # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 #endif extern YYSTYPE yylval;