aboutsummaryrefslogtreecommitdiff
path: root/src/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core.c b/src/core.c
index 6d01068..00dc3a7 100644
--- a/src/core.c
+++ b/src/core.c
@@ -3,8 +3,9 @@
#include <limits.h>
#include <errno.h>
-#include <posthaste/compile.h>
+#include <posthaste/interpret.h>
#include <posthaste/execute.h>
+#include <posthaste/compile.h>
#include <posthaste/parser.h>
#include <posthaste/debug.h>
#include <posthaste/scope.h>
@@ -87,9 +88,9 @@ int run(const char *fname)
#ifdef JIT
compile(ast);
- execute_compilation();
-#else
execute();
+#else
+ interpret();
#endif
out: