core: parser: Add initial preprocessing stubs

Signed-off-by: Chloe M. <chloe@mirocom.org>
This commit is contained in:
2026-05-23 19:03:15 -04:00
parent 71f232282a
commit 8483d3c445
3 changed files with 52 additions and 7 deletions
+4 -2
View File
@@ -29,8 +29,10 @@ compile(const char *pathname)
return -1;
}
if (parser_parse(&st) < 0) {
return -1;
for (int i = 0; i < 2; ++i) {
if (parser_parse(&st) < 0) {
return -1;
}
}
state_close(&st);