core: parser: Add initial preprocessing stubs
Signed-off-by: Chloe M. <chloe@mirocom.org>
This commit is contained in:
+4
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user