From c04474acf680f2aea78548bd0a849c491d010f55 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Mon, 25 Aug 2014 23:02:43 -0700 Subject: [PATCH] Format comments consistently in parser.c --- src/runtime/parser.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/runtime/parser.c b/src/runtime/parser.c index 029bada3..7cedd5d4 100644 --- a/src/runtime/parser.c +++ b/src/runtime/parser.c @@ -83,9 +83,11 @@ static void reduce(TSParser *parser, TSSymbol symbol, size_t child_count) { TSStack *stack = &parser->stack; parser->next_lookahead = parser->lookahead; - // Walk down the stack to determine which symbols will be reduced. - // The child node count is known ahead of time, but some children - // may be ubiquitous tokens, which don't count. + /* + * Walk down the stack to determine which symbols will be reduced. + * The child node count is known ahead of time, but some children + * may be ubiquitous tokens, which don't count. + */ for (size_t i = 0; i < child_count; i++) { if (child_count == stack->size) break;