diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -9,8 +9,12 @@ int main(int argc, char *argv[]) } struct lyn lyn = lyn_create(); + if (lyn_init(&lyn)) { + lyn_destroy(&lyn); + return -1; + } + int ret = lyn_eval_file(&lyn, argv[1]); lyn_destroy(&lyn); - return ret; } |