diff options
| -rw-r--r-- | c/step1_read_print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/step1_read_print.c b/c/step1_read_print.c index 3612373..77c75b9 100644 --- a/c/step1_read_print.c +++ b/c/step1_read_print.c @@ -66,7 +66,7 @@ int main() // REPL loop for(;;) { exp = RE(NULL, prompt, NULL); - if (mal_error && strcmp("EOF", mal_error) == 0) { + if (mal_error && strcmp("EOF", mal_error->val.string) == 0) { return 0; } output = PRINT(exp); |
