diff options
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -505,7 +505,8 @@ static void read_file(paragraph ***ret, input *in, index *idx) { par.fpos = t.pos; switch (t.cmd) { default: - needkw = -1; + error(err_badparatype, t.text, &t.pos); + needkw = 4; break; case c__comment: if (isbrace(in)) |