summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/input.c b/input.c
index 97d732e..f74023a 100644
--- a/input.c
+++ b/input.c
@@ -505,6 +505,9 @@ static void read_file(paragraph ***ret, input *in, index *idx) {
par.fpos = t.pos;
switch (t.cmd) {
default:
+ needkw = -1;
+ break;
+ case c__invalid:
error(err_badparatype, t.text, &t.pos);
needkw = 4;
break;