diff options
Diffstat (limited to 'hence.c')
-rw-r--r-- | hence.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -24,6 +24,9 @@ int main(int argc, char **argv) { } struct token *tok = lex_file(argv[1], fd); + if (!tok) { + return 1; + } int p = parse(argv[1], fd, tok); // gate_set_input("a", LOGIC_LOW); |