Make tokenizer independent of parser (with regards to '/' disambiguation)

Issue #189
This commit is contained in:
Marijn Haverbeke
2015-01-05 23:23:24 +01:00
parent af0debc849
commit b6b085ac8e
3 changed files with 43 additions and 30 deletions

View File

@@ -26687,6 +26687,8 @@ test("a.in / b", {
]
});
test("return {}\n/foo/", {}, {allowReturnOutsideFunction: true});
test("{}/=/", {
type: "Program",
body: [