Mail Archives: djgpp-workers/2002/03/16/13:43:21
> Date: Wed, 13 Mar 2002 20:24:51 -0500
> From: "Peter J. Farley III" <pjfarley AT dorsai DOT org>
>
> >> Should I try building 4.1 from GNU sources?
> >
> >Don't bother: I already tried the 4.1 binary, and I see the same
> >behavior as you do. I will look into this this weekend.
>
> OK, I'll wait for your review.
It turned to be a subtle bug in makeinfo; patch below. The next
version will be free of this bug.
Thanks for reporting this.
2002-03-16 Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
* makeinfo/node.c (cm_anchor): When recording the anchor position,
account for output_paragraph_offset, since the current paragraph
might not be closed yet (happens inside a menu, for example).
--- makeinfo/node.c~0 Sat Feb 23 21:12:18 2002
+++ makeinfo/node.c Sat Mar 16 16:08:50 2002
@@ -1149,7 +1149,8 @@ cm_anchor (arg)
xml_insert_element (ANCHOR, END);
}
/* Save it in the tag table. */
- remember_node (anchor, NULL, NULL, NULL, output_position + output_column,
+ remember_node (anchor, NULL, NULL, NULL,
+ output_position + output_paragraph_offset,
line_number, fname_for_anchor, TAG_FLAG_ANCHOR);
}
- Raw text -