summaryrefslogtreecommitdiffstats
path: root/contrib/texinfo/makeinfo/index.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-07-22 16:52:57 +0000
committerru <ru@FreeBSD.org>2002-07-22 16:52:57 +0000
commitf10c49f50ce56ec7bfbe5d6c4868251e2d4a1646 (patch)
tree69fb6353246292f64a8c7babbd9a86da48cbb4dc /contrib/texinfo/makeinfo/index.c
parent5500b59c459afe212e4ee8d1c1847e051a9b7653 (diff)
downloadFreeBSD-src-f10c49f50ce56ec7bfbe5d6c4868251e2d4a1646.zip
FreeBSD-src-f10c49f50ce56ec7bfbe5d6c4868251e2d4a1646.tar.gz
Import of stripped down GNU texinfo 4.2
Diffstat (limited to 'contrib/texinfo/makeinfo/index.c')
-rw-r--r--contrib/texinfo/makeinfo/index.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/contrib/texinfo/makeinfo/index.c b/contrib/texinfo/makeinfo/index.c
index edaf4e1..bed915d 100644
--- a/contrib/texinfo/makeinfo/index.c
+++ b/contrib/texinfo/makeinfo/index.c
@@ -1,5 +1,5 @@
/* index.c -- indexing for Texinfo.
- $Id: index.c,v 1.24 2002/01/22 14:28:07 karl Exp $
+ $Id: index.c,v 1.25 2002/03/19 14:43:04 karl Exp $
Copyright (C) 1998, 99, 2002 Free Software Foundation, Inc.
@@ -227,10 +227,17 @@ index_add_arg (name)
(see the findexerr test). */
new->defining_file = xstrdup (input_filename);
the_indices[which] = new;
- /* The index breaks if there are colons in the entry. */
+#if 0
+ /* The index breaks if there are colons in the entry.
+ -- This is true, but it's too painful to force changing index
+ entries to use `colon', and too confusing for users. The real
+ fix is to change Info support to support arbitrary characters
+ in node names, and we're not ready to do that. --karl,
+ 19mar02. */
if (strchr (new->entry_text, ':'))
warning (_("Info cannot handle `:' in index entry `%s'"),
new->entry_text);
+#endif
}
if (xml)
xml_insert_indexterm (index_entry, name);
OpenPOWER on IntegriCloud