diff options
| author | Simon Tatham <anakin@pobox.com> | 2004-04-10 12:55:06 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2004-04-10 12:55:06 +0000 |
| commit | 2847942a27c5e6c297f59f82b47b69e4abb3dc33 (patch) | |
| tree | 13b0ca95f10e78f82bc76ae92c1ddd89f85cb253 /error.c | |
| parent | 662f8ee7b6ba45a226b2f11ebd35805a33651762 (diff) | |
| download | halibut-2847942a27c5e6c297f59f82b47b69e4abb3dc33.zip halibut-2847942a27c5e6c297f59f82b47b69e4abb3dc33.tar.gz halibut-2847942a27c5e6c297f59f82b47b69e4abb3dc33.tar.bz2 halibut-2847942a27c5e6c297f59f82b47b69e4abb3dc33.tar.xz | |
The Emacs and Jed info readers don't like my index format: Info menu
items of the form `* stuff: Section 1.2.' are parsed by standalone
info as `Section 1.2' followed by a period, but are parsed by other
readers as `Section 1' followed by a period and then some spare
text. Therefore, I've changed strategy, and the index is now full of
*Note cross-references rather than menu items. On the plus side,
this means there are no longer any special characters which we can't
tolerate in an index entry; on the minus side, my shiny new
infrastructure for tracking the filepos of index entries is now
rendered pointless. I'll leave it in, though, since it may come in
handy again.
[originally from svn r4053]
Diffstat (limited to 'error.c')
| -rw-r--r-- | error.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -208,12 +208,6 @@ static void do_error(int code, va_list ap) { " parameters"); flags = FILEPOS; break; - case err_infoindexcolon: - fpos = *va_arg(ap, filepos *); - sprintf(error, "info output format does not support colons in" - " index terms; removing"); - flags = FILEPOS; - break; case err_infonodechar: fpos = *va_arg(ap, filepos *); c = (char)va_arg(ap, int); |