Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3b3f5118
Commit
3b3f5118
authored
Sep 08, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Fix compilation with older bison.
parent
5ac404aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
15 deletions
+14
-15
lex.c
dlls/jscript/lex.c
+0
-1
parser.y
dlls/jscript/parser.y
+14
-14
No files found.
dlls/jscript/lex.c
View file @
3b3f5118
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
#include "objsafe.h"
#include "objsafe.h"
#include "engine.h"
#include "engine.h"
#define YYSTYPE
#include "parser.tab.h"
#include "parser.tab.h"
#include "wine/debug.h"
#include "wine/debug.h"
...
...
dlls/jscript/parser.y
View file @
3b3f5118
...
@@ -32,7 +32,7 @@ static int parser_error(const char*);
...
@@ -32,7 +32,7 @@ static int parser_error(const char*);
static BOOL allow_auto_semicolon(parser_ctx_t*);
static BOOL allow_auto_semicolon(parser_ctx_t*);
static void program_parsed(parser_ctx_t*,source_elements_t*);
static void program_parsed(parser_ctx_t*,source_elements_t*);
typedef struct {
typedef struct
_statement_list_t
{
statement_t *head;
statement_t *head;
statement_t *tail;
statement_t *tail;
} statement_list_t;
} statement_list_t;
...
@@ -42,7 +42,7 @@ static literal_t *new_null_literal(parser_ctx_t*);
...
@@ -42,7 +42,7 @@ static literal_t *new_null_literal(parser_ctx_t*);
static literal_t *new_undefined_literal(parser_ctx_t*);
static literal_t *new_undefined_literal(parser_ctx_t*);
static literal_t *new_boolean_literal(parser_ctx_t*,VARIANT_BOOL);
static literal_t *new_boolean_literal(parser_ctx_t*,VARIANT_BOOL);
typedef struct {
typedef struct
_property_list_t
{
prop_val_t *head;
prop_val_t *head;
prop_val_t *tail;
prop_val_t *tail;
} property_list_t;
} property_list_t;
...
@@ -50,7 +50,7 @@ typedef struct {
...
@@ -50,7 +50,7 @@ typedef struct {
static property_list_t *new_property_list(parser_ctx_t*,literal_t*,expression_t*);
static property_list_t *new_property_list(parser_ctx_t*,literal_t*,expression_t*);
static property_list_t *property_list_add(parser_ctx_t*,property_list_t*,literal_t*,expression_t*);
static property_list_t *property_list_add(parser_ctx_t*,property_list_t*,literal_t*,expression_t*);
typedef struct {
typedef struct
_element_list_t
{
array_element_t *head;
array_element_t *head;
array_element_t *tail;
array_element_t *tail;
} element_list_t;
} element_list_t;
...
@@ -58,7 +58,7 @@ typedef struct {
...
@@ -58,7 +58,7 @@ typedef struct {
static element_list_t *new_element_list(parser_ctx_t*,int,expression_t*);
static element_list_t *new_element_list(parser_ctx_t*,int,expression_t*);
static element_list_t *element_list_add(parser_ctx_t*,element_list_t*,int,expression_t*);
static element_list_t *element_list_add(parser_ctx_t*,element_list_t*,int,expression_t*);
typedef struct {
typedef struct
_argument_list_t
{
argument_t *head;
argument_t *head;
argument_t *tail;
argument_t *tail;
} argument_list_t;
} argument_list_t;
...
@@ -66,7 +66,7 @@ typedef struct {
...
@@ -66,7 +66,7 @@ typedef struct {
static argument_list_t *new_argument_list(parser_ctx_t*,expression_t*);
static argument_list_t *new_argument_list(parser_ctx_t*,expression_t*);
static argument_list_t *argument_list_add(parser_ctx_t*,argument_list_t*,expression_t*);
static argument_list_t *argument_list_add(parser_ctx_t*,argument_list_t*,expression_t*);
typedef struct {
typedef struct
_case_list_t
{
case_clausule_t *head;
case_clausule_t *head;
case_clausule_t *tail;
case_clausule_t *tail;
} case_list_t;
} case_list_t;
...
@@ -77,7 +77,7 @@ static case_list_t *new_case_list(parser_ctx_t*,case_clausule_t*);
...
@@ -77,7 +77,7 @@ static case_list_t *new_case_list(parser_ctx_t*,case_clausule_t*);
static case_list_t *case_list_add(parser_ctx_t*,case_list_t*,case_clausule_t*);
static case_list_t *case_list_add(parser_ctx_t*,case_list_t*,case_clausule_t*);
static case_clausule_t *new_case_block(parser_ctx_t*,case_list_t*,case_clausule_t*,case_list_t*);
static case_clausule_t *new_case_block(parser_ctx_t*,case_list_t*,case_clausule_t*,case_list_t*);
typedef struct {
typedef struct
_variable_list_t
{
variable_declaration_t *head;
variable_declaration_t *head;
variable_declaration_t *tail;
variable_declaration_t *tail;
} variable_list_t;
} variable_list_t;
...
@@ -112,7 +112,7 @@ struct statement_list_t {
...
@@ -112,7 +112,7 @@ struct statement_list_t {
statement_list_t *new_statement_list(parser_ctx_t*,statement_t*);
statement_list_t *new_statement_list(parser_ctx_t*,statement_t*);
statement_list_t *statement_list_add(statement_list_t*,statement_t*);
statement_list_t *statement_list_add(statement_list_t*,statement_t*);
typedef struct {
typedef struct
_parameter_list_t
{
parameter_t *head;
parameter_t *head;
parameter_t *tail;
parameter_t *tail;
} parameter_list_t;
} parameter_list_t;
...
@@ -148,20 +148,20 @@ static source_elements_t *source_elements_add_function(source_elements_t*,functi
...
@@ -148,20 +148,20 @@ static source_elements_t *source_elements_add_function(source_elements_t*,functi
int ival;
int ival;
LPCWSTR wstr;
LPCWSTR wstr;
literal_t *literal;
literal_t *literal;
argument_list_t
*argument_list;
struct _argument_list_t
*argument_list;
case_clausule_t *case_clausule;
case_clausule_t *case_clausule;
case_list_t
*case_list;
struct _case_list_t
*case_list;
catch_block_t *catch_block;
catch_block_t *catch_block;
element_list_t
*element_list;
struct _element_list_t
*element_list;
expression_t *expr;
expression_t *expr;
const WCHAR *identifier;
const WCHAR *identifier;
function_declaration_t *function_declaration;
function_declaration_t *function_declaration;
parameter_list_t
*parameter_list;
struct _parameter_list_t
*parameter_list;
property_list_t
*property_list;
struct _property_list_t
*property_list;
source_elements_t *source_elements;
source_elements_t *source_elements;
statement_t *statement;
statement_t *statement;
st
atement_list_t
*statement_list;
st
ruct _statement_list_t
*statement_list;
variable_list_t
*variable_list;
struct _variable_list_t
*variable_list;
variable_declaration_t *variable_declaration;
variable_declaration_t *variable_declaration;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment