mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
jscript: Added support for no new line between return and expression rule.
This commit is contained in:
parent
f1642ce1fc
commit
dd0fe98646
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user