/* 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 { LPAREN = 258, RPAREN = 259, LCURLY = 260, RCURLY = 261, LBRACKET = 262, RBRACKET = 263, LEFTHASH = 264, RIGHTHASH = 265, STAB = 266, ARROW = 267, THIN_ARROW = 268, COMMA = 269, SEMI = 270, NL = 271, COLON = 272, RETURN_LOCAL = 273, RETURN = 274, TRY = 275, CATCH = 276, FINALLY = 277, RETRY = 278, SUPER = 279, CLASS = 280, DEF = 281, DOT = 282, DOLLAR = 283, EQUALS = 284, MATCH = 285, CASE = 286, IDENTIFIER = 287, RUBY_SEND_OPEN = 288, RUBY_OPER_OPEN = 289, CONSTANT = 290, INTEGER_LITERAL = 291, HEX_LITERAL = 292, OCT_LITERAL = 293, BIN_LITERAL = 294, DOUBLE_LITERAL = 295, STRING_LITERAL = 296, MULTI_STRING_LITERAL = 297, SYMBOL_LITERAL = 298, REGEX_LITERAL = 299, OPERATOR = 300 }; #endif /* Tokens. */ #define LPAREN 258 #define RPAREN 259 #define LCURLY 260 #define RCURLY 261 #define LBRACKET 262 #define RBRACKET 263 #define LEFTHASH 264 #define RIGHTHASH 265 #define STAB 266 #define ARROW 267 #define THIN_ARROW 268 #define COMMA 269 #define SEMI 270 #define NL 271 #define COLON 272 #define RETURN_LOCAL 273 #define RETURN 274 #define TRY 275 #define CATCH 276 #define FINALLY 277 #define RETRY 278 #define SUPER 279 #define CLASS 280 #define DEF 281 #define DOT 282 #define DOLLAR 283 #define EQUALS 284 #define MATCH 285 #define CASE 286 #define IDENTIFIER 287 #define RUBY_SEND_OPEN 288 #define RUBY_OPER_OPEN 289 #define CONSTANT 290 #define INTEGER_LITERAL 291 #define HEX_LITERAL 292 #define OCT_LITERAL 293 #define BIN_LITERAL 294 #define DOUBLE_LITERAL 295 #define STRING_LITERAL 296 #define MULTI_STRING_LITERAL 297 #define SYMBOL_LITERAL 298 #define REGEX_LITERAL 299 #define OPERATOR 300 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE #line 18 "/Users/backtype/projects/fancy/boot/rbx-compiler/parser/parser.y" { VALUE object; ID symbol; } /* Line 1529 of yacc.c. */ #line 144 "/Users/backtype/projects/fancy/boot/rbx-compiler/parser/parser.h" YYSTYPE; # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 #endif extern YYSTYPE yylval;