From 8c4607c486af0b6c6549f9a7519386de18f6fc3a Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Tue, 14 Oct 2014 10:49:14 -0700 Subject: [PATCH] Add key for symbol param in debug output --- src/runtime/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/parser.c b/src/runtime/parser.c index 2c0593e7..fe08d95e 100644 --- a/src/runtime/parser.c +++ b/src/runtime/parser.c @@ -119,7 +119,7 @@ static TSTree *break_down_right_stack(TSParser *parser) { break; TSTree *child = children[i]; - DEBUG_PARSE("push_right %s", SYM_NAME(child->symbol)); + DEBUG_PARSE("push_right sym:%s", SYM_NAME(child->symbol)); ts_stack_push(stack, 0, child); right_subtree_start -= ts_tree_total_size(child).chars; }