Make stack_print_dot_graph function take a language as an argument
This commit is contained in:
parent
379a2fd121
commit
33820253e8
4 changed files with 16 additions and 20 deletions
|
|
@ -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() \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue