Avoid duplicate error state entries for tokens that are both internal & external

This commit is contained in:
Max Brunsfeld 2017-09-14 10:54:09 -07:00
parent 2721f72c41
commit 91456d7a17
2 changed files with 7 additions and 6 deletions

View file

@ -19,11 +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->symbol_names, stderr); \
fputs("\n\n", stderr); \
}
#define LOG_TREE() \