diff options
| author | Ian Moffett <ian@mirocom.org> | 2026-05-23 02:21:09 -0400 |
|---|---|---|
| committer | Ian Moffett <ian@mirocom.org> | 2026-05-23 02:21:09 -0400 |
| commit | 74e2e8c772d0f88da6684918f782b37156f10fb3 (patch) | |
| tree | fa5d9431e7e3f8df98f1d7f8e5dc9f8c02d09002 /core/cescal.c | |
| parent | 659dd389326f73e6bcbce5311088c182d7cb580e (diff) | |
core: Add lexer + parser groundwork
Signed-off-by: Ian Moffett <ian@mirocom.org>
Diffstat (limited to 'core/cescal.c')
| -rw-r--r-- | core/cescal.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/cescal.c b/core/cescal.c index 6c828e1..0121389 100644 --- a/core/cescal.c +++ b/core/cescal.c @@ -6,6 +6,7 @@ #include <stdio.h> #include <unistd.h> #include "cescal/state.h" +#include "cescal/parser.h" #include "cescal/log.h" static void @@ -28,6 +29,10 @@ compile(const char *pathname) return -1; } + if (parser_parse(&st) < 0) { + return -1; + } + state_close(&st); return 0; } |
