From 6ca377762516888b0488d60c971e0660ae6035f4 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Fri, 14 Oct 2016 22:17:01 +0200 Subject: token_list using an array for memory efficiency --- interpreter/fuspel.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'interpreter/fuspel.c') diff --git a/interpreter/fuspel.c b/interpreter/fuspel.c index 736a1c3..bfdbda0 100644 --- a/interpreter/fuspel.c +++ b/interpreter/fuspel.c @@ -50,7 +50,6 @@ struct fuspel *import(struct fuspel *already_parsed, char *fname) { pgm = parse(tokens); free_token_list(tokens); - my_free(tokens); concat_fuspel(pgm, already_parsed); @@ -105,6 +104,10 @@ int main(int argc, char *argv[]) { env.printProgram = false; env.program = NULL; +#ifdef _FUSPEL_DEBUG + env.debugGraphs = false; +#endif + argp_parse(&argp, argc, argv, 0, 0, &env); if (!env.program) { -- cgit v1.2.3