Merge pull request #2554 from amaanq/debug-bug
fix(query): debug print uses wrong variable
This commit is contained in:
commit
39bbd9867d
1 changed files with 1 additions and 1 deletions
|
|
@ -1907,7 +1907,7 @@ static bool ts_query__analyze_patterns(TSQuery *self, unsigned *error_offset) {
|
|||
}
|
||||
|
||||
#ifdef DEBUG_ANALYZE_QUERY
|
||||
printf("\nWalk states for rootless pattern step %u:\n", step_index);
|
||||
printf("\nWalk states for rootless pattern step %u:\n", pattern_entry->step_index);
|
||||
#endif
|
||||
|
||||
ts_query__perform_analysis(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue