Index: test/webkit/fast/js/parser-syntax-check-expected.txt |
diff --git a/test/webkit/fast/js/parser-syntax-check-expected.txt b/test/webkit/fast/js/parser-syntax-check-expected.txt |
index 132fb4bca0ad802b44aae4432cdb14102a5f0fed..a441daa3bfefcc73316cb9813457ed0cb78e4476 100644 |
--- a/test/webkit/fast/js/parser-syntax-check-expected.txt |
+++ b/test/webkit/fast/js/parser-syntax-check-expected.txt |
@@ -308,8 +308,8 @@ PASS Invalid: "while if (a) ;" |
PASS Invalid: "function f() { while if (a) ; }" |
PASS Valid: "if (a) function f() {} else function g() {}" |
PASS Valid: "function f() { if (a) function f() {} else function g() {} }" |
-PASS Valid: "if (a()) while(0) function f() {} else function g() {}" |
-PASS Valid: "function f() { if (a()) while(0) function f() {} else function g() {} }" |
+PASS Invalid: "if (a()) while(0) function f() {} else function g() {}" |
+PASS Invalid: "function f() { if (a()) while(0) function f() {} else function g() {} }" |
PASS Invalid: "if (a()) function f() { else function g() }" |
PASS Invalid: "function f() { if (a()) function f() { else function g() } }" |
PASS Invalid: "if (a) if (b) ; else function f {}" |