From 2847942a27c5e6c297f59f82b47b69e4abb3dc33 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 10 Apr 2004 12:55:06 +0000 Subject: 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] --- error.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'error.c') diff --git a/error.c b/error.c index 3bfa78b..5f5cbda 100644 --- a/error.c +++ b/error.c @@ -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); -- cgit v1.1