From f1dc062250818ae7d35986135fa5d60dab66b3c5 Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Fri, 14 Jan 2022 18:24:59 +0100 Subject: [PATCH] day 18: typos in comments --- 2021/day18/aoc-c.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/2021/day18/aoc-c.c b/2021/day18/aoc-c.c index 1d54f56..881675c 100644 --- a/2021/day18/aoc-c.c +++ b/2021/day18/aoc-c.c @@ -107,7 +107,9 @@ static int node_split(node_t *node) } /* explode node - explode first node with level == 4 - * return: 1: finished + * return: + * 0: nothing done + * 1: an explode operation was done */ static int node_explode(node_t *node, int depth) { @@ -148,7 +150,7 @@ static int node_explode(node_t *node, int depth) } } -/* node reduce: +/* node reduce */ static node_t *node_reduce(node_t *node) {