+2006-08-07 Bruno Haible <bruno@clisp.org>
+
+ * xgettext.c (remember_a_message): Use the position passed as argument
+ instead of a dummypos.
+ Reported by Paul Eggert <eggert@cs.ucla.edu>.
+
2006-08-01 Bruno Haible <bruno@clisp.org>
Fix behaviour of msgmerge when the PO file and the compendium are
}
else
{
- static lex_pos_ty dummypos = { __FILE__, __LINE__ };
-
/* Construct the msgstr from the prefix and suffix, otherwise use the
empty string. */
if (msgstr_prefix)
/* Allocate a new message and append the message to the list. */
mp = message_alloc (msgctxt, msgid, NULL, msgstr, strlen (msgstr) + 1,
- &dummypos);
+ pos);
/* Do not free msgctxt and msgid. */
message_list_append (mlp, mp);
}