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
59564606
Commit
59564606
authored
Dec 15, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 15, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Call expressions needling EXPR_NEWREF flag directly.
parent
fd6ecbd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
engine.c
dlls/jscript/engine.c
+16
-3
No files found.
dlls/jscript/engine.c
View file @
59564606
...
...
@@ -1071,10 +1071,23 @@ HRESULT forin_statement_eval(script_ctx_t *ctx, statement_t *_stat, return_type_
TRACE
(
"iter %s
\n
"
,
debugstr_w
(
str
));
if
(
stat
->
variable
)
if
(
stat
->
variable
)
{
hres
=
identifier_eval
(
ctx
,
identifier
,
0
,
NULL
,
&
exprval
);
else
hres
=
expr_eval
(
ctx
,
stat
->
expr
,
EXPR_NEWREF
,
&
rt
->
ei
,
&
exprval
);
}
else
{
switch
(
stat
->
expr
->
type
)
{
case
EXPR_ARRAY
:
hres
=
array_expression_eval
(
ctx
,
stat
->
expr
,
EXPR_NEWREF
,
&
rt
->
ei
,
&
exprval
);
break
;
case
EXPR_IDENT
:
hres
=
identifier_expression_eval
(
ctx
,
stat
->
expr
,
EXPR_NEWREF
,
&
rt
->
ei
,
&
exprval
);
break
;
case
EXPR_MEMBER
:
hres
=
member_expression_eval
(
ctx
,
stat
->
expr
,
EXPR_NEWREF
,
&
rt
->
ei
,
&
exprval
);
break
;
default:
hres
=
expr_eval
(
ctx
,
stat
->
expr
,
0
,
&
rt
->
ei
,
&
exprval
);
}
}
if
(
SUCCEEDED
(
hres
))
{
V_VT
(
&
name
)
=
VT_BSTR
;
V_BSTR
(
&
name
)
=
str
;
...
...
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