diff options
| author | Simon Tatham <anakin@pobox.com> | 2008-11-21 19:25:26 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2008-11-21 19:25:26 +0000 |
| commit | 56b96573956a4035b9db0d73a8a07f2ed1526004 (patch) | |
| tree | d7c0b01ce9d9ce72ff4bcd5e35e12352f45bb964 | |
| parent | f363ea888dd2a45d7996dbc3f267c326926ac7a5 (diff) | |
| download | halibut-56b96573956a4035b9db0d73a8a07f2ed1526004.zip halibut-56b96573956a4035b9db0d73a8a07f2ed1526004.tar.gz halibut-56b96573956a4035b9db0d73a8a07f2ed1526004.tar.bz2 halibut-56b96573956a4035b9db0d73a8a07f2ed1526004.tar.xz | |
Correct mishandling of paragraphs beginning with "\#{".
(Embarrassingly, this was showing up in inputs/test.but itself.)
[originally from svn r8312]
| -rw-r--r-- | input.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -835,8 +835,10 @@ static void read_file(paragraph ***ret, input *in, indexdata *idx, needkw = 4; break; case c__comment: - if (isbrace(in)) + if (isbrace(in)) { + needkw = -1; break; /* `\#{': isn't a comment para */ + } do { dtor(t), t = get_token(in); } while (t.type != tok_eop && t.type != tok_eof); |