Include captured summary information in stack debug graphs
This commit is contained in:
parent
548c12fb88
commit
254edb0ec8
1 changed files with 2 additions and 1 deletions
|
|
@ -777,7 +777,8 @@ bool ts_stack_print_dot_graph(Stack *self, const TSLanguage *language, FILE *f)
|
|||
);
|
||||
|
||||
if (head->summary) {
|
||||
fprintf(f, "\nsummary_size: %u", head->summary->size);
|
||||
fprintf(f, "\nsummary:");
|
||||
for (uint32_t j = 0; j < head->summary->size; j++) fprintf(f, " %u", head->summary->contents[j].state);
|
||||
}
|
||||
|
||||
if (head->last_external_token.ptr) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue