diff options
| author | Simon Tatham <anakin@pobox.com> | 1999-10-21 13:34:34 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 1999-10-21 13:34:34 +0000 |
| commit | 3ea5db22e2af7b4446528de78b4c51bc3cd0559b (patch) | |
| tree | 0640081adce2a5180b75549c5733c36595b3a8eb /input.c | |
| parent | 5a9505f48aeb252d1a316b3cecc0b1da9d510085 (diff) | |
| download | halibut-3ea5db22e2af7b4446528de78b4c51bc3cd0559b.zip halibut-3ea5db22e2af7b4446528de78b4c51bc3cd0559b.tar.gz halibut-3ea5db22e2af7b4446528de78b4c51bc3cd0559b.tar.bz2 halibut-3ea5db22e2af7b4446528de78b4c51bc3cd0559b.tar.xz | |
We were failing to diagnose bad command at paragraph start
[originally from svn r242]
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)) |