From 34fc6119714b999bae5aaf08697453dca500f705 Mon Sep 17 00:00:00 2001 From: "Ian M." Date: Sat, 3 Oct 2026 06:25:43 +0000 Subject: frontend: Add lexer+parser groundwork Signed-off-by: Ian M. --- core/atas.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'core/atas.c') diff --git a/core/atas.c b/core/atas.c index 9585a26..623468f 100644 --- a/core/atas.c +++ b/core/atas.c @@ -5,7 +5,8 @@ #include #include -#include "atas/state.h" +#include +#include /* * Display help options @@ -39,6 +40,13 @@ atas_assemble(const char *in_file) return; } + error = atas_parse(&state); + if (error < 0) { + printf("failured occured in %s\n", in_file); + atas_state_destroy(&state); + return; + } + atas_state_destroy(&state); } -- cgit v1.2.3