Distinguish separators from main tokens via a property on transitions
It was incorrect to store it as a property on the lexical states themselves
This commit is contained in:
parent
59712ec492
commit
a3679fbb1f
13 changed files with 157 additions and 153 deletions
|
|
@ -501,7 +501,7 @@ bool ts_stack_print_dot_graph(Stack *self, const char **symbol_names, FILE *f) {
|
|||
fprintf(f, "rankdir=\"RL\";\n");
|
||||
fprintf(f, "edge [arrowhead=none]\n");
|
||||
|
||||
Array(StackNode *) visited_nodes = array_new();
|
||||
Array(StackNode *)visited_nodes = array_new();
|
||||
|
||||
array_clear(&self->pop_paths);
|
||||
for (size_t i = 0; i < self->heads.size; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue