[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[5448] info_indices_of_file_buffer: check if anchor
From: |
Gavin D. Smith |
Subject: |
[5448] info_indices_of_file_buffer: check if anchor |
Date: |
Mon, 14 Apr 2014 17:01:06 +0000 |
Revision: 5448
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5448
Author: gavin
Date: 2014-04-14 17:01:03 +0000 (Mon, 14 Apr 2014)
Log Message:
-----------
info_indices_of_file_buffer: check if anchor
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/indices.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2014-04-14 13:29:13 UTC (rev 5447)
+++ trunk/ChangeLog 2014-04-14 17:01:03 UTC (rev 5448)
@@ -1,5 +1,10 @@
2014-04-14 Gavin Smith <address@hidden>
+ * indices.c (info_indices_of_file_buffer): Don't consider anchors
+ as index nodes even if they have "Index" in their name.
+
+2014-04-14 Gavin Smith <address@hidden>
+
* nodes.c (info_create_node): New function initializing
created NODE structures.
* footnotes.c (make_footnotes_node)
Modified: trunk/info/indices.c
===================================================================
--- trunk/info/indices.c 2014-04-14 13:29:13 UTC (rev 5447)
+++ trunk/info/indices.c 2014-04-14 17:01:03 UTC (rev 5448)
@@ -131,7 +131,8 @@
for (i = 0; (tag = file_buffer->tags[i]); i++)
{
- if (string_in_line ("Index", tag->nodename) != -1)
+ if (string_in_line ("Index", tag->nodename) != -1
+ && tag->nodelen != 0) /* Not an anchor. */
{
NODE *node;
REFERENCE **menu;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [5448] info_indices_of_file_buffer: check if anchor,
Gavin D. Smith <=