diff options
Diffstat (limited to 'deps/v8/test/webkit/fast/js/parser-syntax-check-expected.txt')
-rw-r--r-- | deps/v8/test/webkit/fast/js/parser-syntax-check-expected.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/webkit/fast/js/parser-syntax-check-expected.txt b/deps/v8/test/webkit/fast/js/parser-syntax-check-expected.txt index 2a09635ebe..f6dbe354e7 100644 --- a/deps/v8/test/webkit/fast/js/parser-syntax-check-expected.txt +++ b/deps/v8/test/webkit/fast/js/parser-syntax-check-expected.txt @@ -497,8 +497,8 @@ PASS Invalid: "try {} finally {} catch(e) {}" PASS Invalid: "function f() { try {} finally {} catch(e) {} }" PASS Invalid: "try {} catch (...) {}" PASS Invalid: "function f() { try {} catch (...) {} }" -PASS Invalid: "try {} catch {}" -PASS Invalid: "function f() { try {} catch {} }" +PASS Valid: "try {} catch {}" +PASS Valid: "function f() { try {} catch {} }" PASS Valid: "if (a) try {} finally {} else b;" PASS Valid: "function f() { if (a) try {} finally {} else b; }" PASS Valid: "if (--a()) do with(1) try {} catch(ke) { f() ; g() } while (a in b) else {}" |