diff options
| author | Simon Tatham <anakin@pobox.com> | 1999-10-21 13:26:48 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 1999-10-21 13:26:48 +0000 |
| commit | 5a9505f48aeb252d1a316b3cecc0b1da9d510085 (patch) | |
| tree | ec38b7bf6790884e2f12979c91127b6dfeff2547 /input.c | |
| parent | 8511f4ae900f48999617bc8384e9c327673e2196 (diff) | |
| download | halibut-5a9505f48aeb252d1a316b3cecc0b1da9d510085.zip halibut-5a9505f48aeb252d1a316b3cecc0b1da9d510085.tar.gz halibut-5a9505f48aeb252d1a316b3cecc0b1da9d510085.tar.bz2 halibut-5a9505f48aeb252d1a316b3cecc0b1da9d510085.tar.xz | |
Now handle \\, \{ and \} in paragraph keywords
[originally from svn r241]
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -557,7 +557,9 @@ static void read_file(paragraph ***ret, input *in, index *idx) { /* FIXME: there will be bugs if anyone specifies an * empty keyword (\foo{}), so trap this case. */ while (dtor(t), t = get_token(in), - t.type == tok_word || t.type == tok_white) { + t.type == tok_word || + t.type == tok_white || + (t.type == tok_cmd && t.cmd == c__escaped)) { if (t.type == tok_white) rdadd(&rs, ' '); else |