diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-10-19 21:43:48 +0300 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-10-23 18:25:23 +0300 |
commit | e3bb9a4ddc0465d4a75ca64e36416a9568c74d27 (patch) | |
tree | 2a0281b4885f49ad92a4e5acfe4c28fa88a24129 /src/main.c | |
parent | 7c5f098511b8f612a17f4ccdd8a4924c325d37e1 (diff) | |
download | lyn-e3bb9a4ddc0465d4a75ca64e36416a9568c74d27.tar.gz lyn-e3bb9a4ddc0465d4a75ca64e36416a9568c74d27.zip |
some basic programs run
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; } |