summaryrefslogtreecommitdiff
path: root/internal-tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'internal-tests.c')
-rw-r--r--internal-tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal-tests.c b/internal-tests.c
index e91de00..b027fef 100644
--- a/internal-tests.c
+++ b/internal-tests.c
@@ -25,7 +25,7 @@ interp (const char *data)
{
ast_t *ast;
- if ((ast = compile (data, TRUE)))
+ if ((ast = compile (data, TRUE, TRUE)))
interpret (ast);
}
@@ -34,7 +34,7 @@ dump (const char *data)
{
ast_t *ast;
- if ((ast = compile (data, TRUE)))
+ if ((ast = compile (data, TRUE, TRUE)))
dump_program (&ast->program);
}