mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
235ab4ad86
The regression was unhidden by MSI-winesync 1.5.10 almost 7years ago:8939969e21
== SVN r57070 Finally we can fix it by adding MS enumerator extension to Jscript. Many thanks to the patches author Andreas Maier <staubim@quantentunnel.de> JIRA-nick: andy-123 fix picked from commit 0.4.12-RC-18-g9ebb42a4c0
It went afterward into master in slightly modified form as 0.4.13-dev-890-g83dcae1
But I decided to take the older state from 0.4.12RC, so that I do not have to risk touching releases/0.4.12 again to sync to "latest&greatest". Due to the changed PROPF_* defines in jscript.h, I felt most safe by porting back also: 0.4.10-dev-188-gc6f49f5
0.4.10-dev-152-g3f071cc
0.4.9-dev-248-g8dba275
0.4.9-dev-120-g004d830fe9
[INCLUDE/WINE] Import heap.h from Wine Staging 3.3 0.4.8-dev-722-g3381ee4
133 lines
3.8 KiB
C
133 lines
3.8 KiB
C
/* A Bison parser, made by GNU Bison 3.0. */
|
|
|
|
/* Bison interface for Yacc-like parsers in C
|
|
|
|
Copyright (C) 1984, 1989-1990, 2000-2013 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/>. */
|
|
|
|
/* 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. */
|
|
|
|
#ifndef YY_PARSER_E_REACTOSSYNC_GCC_DLL_WIN32_JSCRIPT_PARSER_TAB_H_INCLUDED
|
|
# define YY_PARSER_E_REACTOSSYNC_GCC_DLL_WIN32_JSCRIPT_PARSER_TAB_H_INCLUDED
|
|
/* Debug traces. */
|
|
#ifndef YYDEBUG
|
|
# define YYDEBUG 0
|
|
#endif
|
|
#if YYDEBUG
|
|
extern int parser_debug;
|
|
#endif
|
|
|
|
/* Token type. */
|
|
#ifndef YYTOKENTYPE
|
|
# define YYTOKENTYPE
|
|
enum yytokentype
|
|
{
|
|
kBREAK = 258,
|
|
kCASE = 259,
|
|
kCATCH = 260,
|
|
kCONTINUE = 261,
|
|
kDEFAULT = 262,
|
|
kDELETE = 263,
|
|
kDO = 264,
|
|
kELSE = 265,
|
|
kFUNCTION = 266,
|
|
kIF = 267,
|
|
kFINALLY = 268,
|
|
kFOR = 269,
|
|
kIN = 270,
|
|
kINSTANCEOF = 271,
|
|
kNEW = 272,
|
|
kNULL = 273,
|
|
kRETURN = 274,
|
|
kSWITCH = 275,
|
|
kTHIS = 276,
|
|
kTHROW = 277,
|
|
kTRUE = 278,
|
|
kFALSE = 279,
|
|
kTRY = 280,
|
|
kTYPEOF = 281,
|
|
kVAR = 282,
|
|
kVOID = 283,
|
|
kWHILE = 284,
|
|
kWITH = 285,
|
|
tANDAND = 286,
|
|
tOROR = 287,
|
|
tINC = 288,
|
|
tDEC = 289,
|
|
tHTMLCOMMENT = 290,
|
|
kDIVEQ = 291,
|
|
kDCOL = 292,
|
|
tIdentifier = 293,
|
|
tAssignOper = 294,
|
|
tEqOper = 295,
|
|
tShiftOper = 296,
|
|
tRelOper = 297,
|
|
tNumericLiteral = 298,
|
|
tBooleanLiteral = 299,
|
|
tStringLiteral = 300,
|
|
tEOF = 301,
|
|
LOWER_THAN_ELSE = 302
|
|
};
|
|
#endif
|
|
|
|
/* Value type. */
|
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
|
typedef union YYSTYPE YYSTYPE;
|
|
union YYSTYPE
|
|
{
|
|
#line 145 "parser.y" /* yacc.c:1909 */
|
|
|
|
int ival;
|
|
const WCHAR *srcptr;
|
|
LPCWSTR wstr;
|
|
literal_t *literal;
|
|
struct _argument_list_t *argument_list;
|
|
case_clausule_t *case_clausule;
|
|
struct _case_list_t *case_list;
|
|
catch_block_t *catch_block;
|
|
struct _element_list_t *element_list;
|
|
expression_t *expr;
|
|
const WCHAR *identifier;
|
|
struct _parameter_list_t *parameter_list;
|
|
struct _property_list_t *property_list;
|
|
source_elements_t *source_elements;
|
|
statement_t *statement;
|
|
struct _statement_list_t *statement_list;
|
|
struct _variable_list_t *variable_list;
|
|
variable_declaration_t *variable_declaration;
|
|
|
|
#line 123 "parser.tab.h" /* yacc.c:1909 */
|
|
};
|
|
# define YYSTYPE_IS_TRIVIAL 1
|
|
# define YYSTYPE_IS_DECLARED 1
|
|
#endif
|
|
|
|
|
|
|
|
int parser_parse (parser_ctx_t *ctx);
|
|
|
|
#endif /* !YY_PARSER_E_REACTOSSYNC_GCC_DLL_WIN32_JSCRIPT_PARSER_TAB_H_INCLUDED */
|