-/* A Bison parser, made by GNU Bison 2.4. */
+/* A Bison parser, made by GNU Bison 2.4.277-62c99-dirty. */
/* 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.
-
+
+ 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 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 <http://www.gnu.org/licenses/>. */
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. */
T_EMPTY = 262,
T_INT = 263,
T_UINT = 264,
- T_BYTE = 265,
- T_SHORT = 266,
- T_FLOAT = 267,
- T_FOR = 268,
- T_WHILE = 269,
- T_DO = 270,
- T_SWITCH = 271,
- KW_IMPLEMENTS = 272,
- KW_NAMESPACE = 273,
- KW_PACKAGE = 274,
- KW_PROTECTED = 275,
- KW_PUBLIC = 276,
- KW_PRIVATE = 277,
- KW_USE = 278,
- KW_INTERNAL = 279,
- KW_NEW = 280,
- KW_NATIVE = 281,
- KW_FUNCTION = 282,
- KW_FINALLY = 283,
- KW_UNDEFINED = 284,
+ T_FLOAT = 265,
+ T_FOR = 266,
+ T_WHILE = 267,
+ T_DO = 268,
+ T_SWITCH = 269,
+ KW_IMPLEMENTS = 270,
+ KW_NAMESPACE = 271,
+ KW_PACKAGE = 272,
+ KW_PROTECTED = 273,
+ KW_ARGUMENTS = 274,
+ KW_PUBLIC = 275,
+ KW_PRIVATE = 276,
+ KW_USE = 277,
+ KW_INTERNAL = 278,
+ KW_NEW = 279,
+ KW_NATIVE = 280,
+ KW_FUNCTION = 281,
+ KW_FINALLY = 282,
+ KW_UNDEFINED = 283,
+ KW_NAN = 284,
KW_CONTINUE = 285,
KW_CLASS = 286,
KW_CONST = 287,
KW_NUMBER = 315,
KW_STRING = 316,
KW_DEFAULT = 317,
- KW_DELETE = 318,
- KW_IF = 319,
- KW_ELSE = 320,
- KW_BREAK = 321,
- KW_IS = 322,
- KW_IN = 323,
- KW_AS = 324,
- T_EQEQ = 325,
- T_EQEQEQ = 326,
- T_NE = 327,
- T_NEE = 328,
- T_LE = 329,
- T_GE = 330,
- T_ORBY = 331,
- T_DIVBY = 332,
- T_MODBY = 333,
- T_MULBY = 334,
- T_PLUSBY = 335,
- T_MINUSBY = 336,
- T_SHRBY = 337,
- T_SHLBY = 338,
- T_USHRBY = 339,
- T_OROR = 340,
- T_ANDAND = 341,
- T_COLONCOLON = 342,
- T_MINUSMINUS = 343,
- T_PLUSPLUS = 344,
- T_DOTDOT = 345,
- T_DOTDOTDOT = 346,
- T_SHL = 347,
- T_USHR = 348,
- T_SHR = 349,
- prec_none = 350,
- below_semicolon = 351,
- below_assignment = 352,
- below_minus = 355,
- minusminus_prefix = 356,
- plusplus_prefix = 357,
- below_curly = 358,
- new2 = 359,
- above_identifier = 360,
- below_else = 361,
- above_function = 362
+ KW_DEFAULT_XML = 318,
+ KW_DELETE = 319,
+ KW_IF = 320,
+ KW_ELSE = 321,
+ KW_BREAK = 322,
+ KW_IS = 323,
+ KW_IN = 324,
+ KW_AS = 325,
+ T_DICTSTART = 326,
+ T_EQEQ = 327,
+ T_EQEQEQ = 328,
+ T_NE = 329,
+ T_NEE = 330,
+ T_LE = 331,
+ T_GE = 332,
+ T_ORBY = 333,
+ T_DIVBY = 334,
+ T_MODBY = 335,
+ T_MULBY = 336,
+ T_ANDBY = 337,
+ T_PLUSBY = 338,
+ T_MINUSBY = 339,
+ T_XORBY = 340,
+ T_SHRBY = 341,
+ T_SHLBY = 342,
+ T_USHRBY = 343,
+ T_OROR = 344,
+ T_ANDAND = 345,
+ T_COLONCOLON = 346,
+ T_MINUSMINUS = 347,
+ T_PLUSPLUS = 348,
+ T_DOTDOT = 349,
+ T_DOTDOTDOT = 350,
+ T_SHL = 351,
+ T_USHR = 352,
+ T_SHR = 353,
+ prec_none = 354,
+ below_semicolon = 355,
+ below_assignment = 356,
+ below_lt = 357,
+ below_minus = 358,
+ minusminus_prefix = 359,
+ plusplus_prefix = 360,
+ below_curly = 361,
+ new2 = 362,
+ above_identifier = 363,
+ below_else = 364,
+ above_function = 365
};
#endif
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
-typedef union
-/* Line 1685 of skeleton.m4 */
-#line 44 "parser.y"
+typedef union /* Line 1685 of skeleton.m4 */
+#line 47 "parser.y"
tokenunion
{
-
/* Line 1685 of skeleton.m4 */
-#line 44 "parser.y"
+#line 47 "parser.y"
enum yytokentype token;
- int flags;
classinfo_t*classinfo;
classinfo_list_t*classinfo_list;
+ slotinfo_t*slotinfo;
+ slotinfo_list_t*slotinfo_list;
int number_int;
unsigned int number_uint;
for_start_t for_start;
abc_exception_t *exception;
regexp_t regexp;
+ modifiers_t flags;
+ namespace_decl_t* namespace_decl;
+ node_t*node;
struct {
abc_exception_list_t *l;
code_t*finally;
} catch_list;
-
/* Line 1685 of skeleton.m4 */
-#line 190 "parser.tab.h"
+#line 196 "parser.tab.h"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */