aboutsummaryrefslogtreecommitdiff
path: root/src/stem.c
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2024-01-28 19:55:11 -0800
committerPreston Pan <preston@nullring.xyz>2024-01-28 19:55:11 -0800
commit1e95a76aa28df41b36c1ec41e24287d6c1b4065b (patch)
tree8f7a4aa5867369f17fa347fdad759413c8bd0ba9 /src/stem.c
parent9d84cacb1ccdc9822d16f0fb5531f79d5770349f (diff)
fix bugs found by emailer
Diffstat (limited to 'src/stem.c')
-rw-r--r--src/stem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stem.c b/src/stem.c
index f623ae7..651d624 100644
--- a/src/stem.c
+++ b/src/stem.c
@@ -331,6 +331,8 @@ value_t *parser_get_next(parser_t *p) {
return parse_quote(p);
case '\0':
return NULL;
+ case EOF:
+ return NULL;
default:
return parse_word(p);
}