Allow the parser to print dot graphs to any file
This commit is contained in:
parent
e75ecd1bb1
commit
199a94cc26
7 changed files with 29 additions and 29 deletions
|
|
@ -32,7 +32,7 @@ describe("examples found via fuzzing", [&]() {
|
|||
TSParser *parser = ts_parser_new();
|
||||
|
||||
if (getenv("TREE_SITTER_ENABLE_DEBUG_GRAPHS")) {
|
||||
ts_parser_print_debugging_graphs(parser, true);
|
||||
ts_parser_print_dot_graphs(parser, stderr);
|
||||
}
|
||||
|
||||
const string &language_name = examples[i].first;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue