From d230dbb67937734d756ddaef5bf8cae46f038f05 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 3 Dec 2024 03:17:20 +0000 Subject: Capture number of loops in PResult during parsing --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parser.c') diff --git a/parser.c b/parser.c index c3129f6..101f3e3 100644 --- a/parser.c +++ b/parser.c @@ -152,7 +152,7 @@ struct PResult parse_buffer(buffer_t *buffer) goto error; } - return (struct PResult){nodes, usable}; + return (struct PResult){nodes, usable, loops}; error: if (nodes) free(nodes); -- cgit v1.2.3-13-gbd6f