Don't include trailing ubiquitous tokens as children when reducing
This commit is contained in:
parent
64e56f5acc
commit
863cabc827
13 changed files with 286 additions and 149 deletions
|
|
@ -396,7 +396,8 @@ describe("Parser", [&]() {
|
|||
});
|
||||
});
|
||||
|
||||
it("updates the document's parse-count", [&]() {
|
||||
it("updates the document's parse count", [&]() {
|
||||
ts_document_set_language(doc, ts_language_javascript());
|
||||
AssertThat(ts_document_parse_count(doc), Equals<size_t>(0));
|
||||
|
||||
set_text("{ x: (b.c) };");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue