From 74e2e8c772d0f88da6684918f782b37156f10fb3 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 23 May 2026 02:21:09 -0400 Subject: core: Add lexer + parser groundwork Signed-off-by: Ian Moffett --- core/cescal.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core/cescal.c') 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 #include #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; } -- cgit v1.2.3