Commit dd0fe986 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

jscript: Added support for no new line between return and expression rule.

parent f1642ce1
......@@ -87,7 +87,7 @@ static const struct {
{instanceofW, kINSTANCEOF},
{newW, kNEW},
{nullW, kNULL},
{returnW, kRETURN},
{returnW, kRETURN, TRUE},
{switchW, kSWITCH},
{thisW, kTHIS},
{throwW, kTHROW},
......
......@@ -1378,6 +1378,13 @@ while(true) {
tmp = false
}
function returnTest() {
return
true;
}
ok(returnTest() === undefined, "returnTest = " + returnTest());
/* Keep this test in the end of file */
undefined = 6;
ok(undefined === 6, "undefined = " + undefined);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment