Make stack_print_dot_graph function take a language as an argument

This commit is contained in:
Max Brunsfeld 2018-04-08 13:49:20 -07:00
parent 379a2fd121
commit 33820253e8
4 changed files with 16 additions and 20 deletions

View file

@ -19,10 +19,10 @@
parser__log(self); \
}
#define LOG_STACK() \
if (self->print_debugging_graphs) { \
ts_stack_print_dot_graph(self->stack, self->language->symbol_names, stderr); \
fputs("\n\n", stderr); \
#define LOG_STACK() \
if (self->print_debugging_graphs) { \
ts_stack_print_dot_graph(self->stack, self->language, stderr); \
fputs("\n\n", stderr); \
}
#define LOG_TREE() \