Tweak debugging output

This commit is contained in:
Max Brunsfeld 2014-10-05 16:56:29 -07:00
parent e5ea4efb0b
commit 6d37877e49
3 changed files with 10 additions and 11 deletions

View file

@ -26,9 +26,9 @@ TSStateId ts_stack_top_state(const TSStack *stack);
TSTree *ts_stack_top_node(const TSStack *stack);
TSLength ts_stack_right_position(const TSStack *stack);
#define TS_STACK_FROM_TOP(stack, entry) \
for (TSStackEntry *entry = stack.entries + stack.size - 1; \
entry >= stack.entries; entry--)
#define TS_STACK_FROM_TOP(stack, entry) \
for (TSStackEntry *entry = (stack).entries + (stack).size - 1; \
entry >= (stack).entries; entry--)
#ifdef __cplusplus
}