From 038d5c3311dc7676474d2f99d71afc9a1097b4a6 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 22 Oct 1999 13:25:35 +0000 Subject: Now get start-of-paragraph diagnoses _right_... *sigh* [originally from svn r246] --- input.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'input.c') 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; -- cgit v1.1