Make ts_compile_grammar take an optional log file, start logging to it

This commit is contained in:
Max Brunsfeld 2018-05-24 16:01:14 -07:00
parent 69d8c6f5e6
commit 6fca8f2f4d
13 changed files with 164 additions and 25 deletions

View file

@ -26,7 +26,7 @@ describe("Language", []() {
"value": "b"
}
}
})JSON");
})JSON", nullptr);
TSParser *parser = ts_parser_new();
const TSLanguage *language = load_test_language("aliased_rules", compile_result);