aboutsummaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-12-03 03:17:20 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-12-03 03:17:44 +0000
commitd230dbb67937734d756ddaef5bf8cae46f038f05 (patch)
tree5e8d4fb0ff302b5299d1b13875ca65f98c863461 /parser.c
parent7554cc40fdecfbeb5113081640af4eeb751e19da (diff)
downloadobf-d230dbb67937734d756ddaef5bf8cae46f038f05.tar.gz
obf-d230dbb67937734d756ddaef5bf8cae46f038f05.tar.bz2
obf-d230dbb67937734d756ddaef5bf8cae46f038f05.zip
Capture number of loops in PResult during parsing
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 1 insertions, 1 deletions
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);