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
|
|
@ -27,7 +27,7 @@ describe("Parser", [&]() {
|
|||
tree = nullptr;
|
||||
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);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue