summaryrefslogtreecommitdiff
path: root/core/cescal.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/cescal.c')
-rw-r--r--core/cescal.c5
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;
}