Start using the forward move to recover from errors
Some unit tests passing. Corpus tests still failing
This commit is contained in:
parent
b733b0cc81
commit
aef7582a2a
8 changed files with 295 additions and 113 deletions
|
|
@ -101,7 +101,7 @@ describe("Document", [&]() {
|
|||
TSNode new_root = ts_document_root_node(doc);
|
||||
assert_node_string_equals(
|
||||
new_root,
|
||||
"(ERROR (UNEXPECTED <EOF>))");
|
||||
"(UNEXPECTED <EOF>)");
|
||||
|
||||
ts_document_set_input_string(doc, "1");
|
||||
ts_document_parse(doc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue