summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/input.c b/input.c
index dc745f1..9dc524c 100644
--- a/input.c
+++ b/input.c
@@ -25,7 +25,8 @@ static int get(input *in) {
in->currindex++;
}
return c;
- }
+ } else
+ return EOF;
}
paragraph *read_input(input *in) {