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
99335680
Commit
99335680
authored
Sep 17, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Added continue statement implementation.
parent
7bde1a33
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
3 deletions
+25
-3
engine.c
dlls/jscript/engine.c
+14
-3
lang.js
dlls/jscript/tests/lang.js
+11
-0
No files found.
dlls/jscript/engine.c
View file @
99335680
...
@@ -707,10 +707,21 @@ HRESULT forin_statement_eval(exec_ctx_t *ctx, statement_t *stat, return_type_t *
...
@@ -707,10 +707,21 @@ HRESULT forin_statement_eval(exec_ctx_t *ctx, statement_t *stat, return_type_t *
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
HRESULT
continue_statement_eval
(
exec_ctx_t
*
ctx
,
statement_t
*
stat
,
return_type_t
*
rt
,
VARIANT
*
ret
)
/* ECMA-262 3rd Edition 12.7 */
HRESULT
continue_statement_eval
(
exec_ctx_t
*
ctx
,
statement_t
*
_stat
,
return_type_t
*
rt
,
VARIANT
*
ret
)
{
{
FIXME
(
"
\n
"
);
branch_statement_t
*
stat
=
(
branch_statement_t
*
)
_stat
;
return
E_NOTIMPL
;
TRACE
(
"
\n
"
);
if
(
stat
->
identifier
)
{
FIXME
(
"indentifier not implemented
\n
"
);
return
E_NOTIMPL
;
}
rt
->
type
=
RT_CONTINUE
;
V_VT
(
ret
)
=
VT_EMPTY
;
return
S_OK
;
}
}
/* ECMA-262 3rd Edition 12.8 */
/* ECMA-262 3rd Edition 12.8 */
...
...
dlls/jscript/tests/lang.js
View file @
99335680
...
@@ -582,4 +582,15 @@ do {
...
@@ -582,4 +582,15 @@ do {
}
while
(
false
);
}
while
(
false
);
ok
(
tmp
===
1
,
"tmp !== 4"
);
ok
(
tmp
===
1
,
"tmp !== 4"
);
tmp
=
0
;
while
(
tmp
<
4
)
{
tmp
++
;
if
(
tmp
===
2
)
{
continue
;
ok
(
false
,
"break did not break"
);
}
ok
(
tmp
<=
4
&&
tmp
!=
2
,
"tmp = "
+
tmp
);
}
ok
(
tmp
===
4
,
"tmp !== 4"
);
reportSuccess
();
reportSuccess
();
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