summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/x-lisp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/src/x-lisp.c')
-rw-r--r--gettext-tools/src/x-lisp.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/gettext-tools/src/x-lisp.c b/gettext-tools/src/x-lisp.c
index f903b55..dbfd2ae 100644
--- a/gettext-tools/src/x-lisp.c
+++ b/gettext-tools/src/x-lisp.c
@@ -1100,10 +1100,9 @@ read_object (struct object *op, flag_context_ty outer_context)
pos.file_name = logical_file_name;
pos.line_number = inner.line_number_at_start;
- savable_comment_to_xgettext_comment (savable_comment);
mp = remember_a_message (mlp, string_of_object (&inner),
- inner_context, &pos);
- savable_comment_reset ();
+ inner_context, &pos,
+ savable_comment);
if (argnum2 > 0)
plural_mp = mp;
}
@@ -1116,10 +1115,9 @@ read_object (struct object *op, flag_context_ty outer_context)
pos.file_name = logical_file_name;
pos.line_number = inner.line_number_at_start;
- savable_comment_to_xgettext_comment (savable_comment);
remember_a_message_plural (plural_mp, string_of_object (&inner),
- inner_context, &pos);
- savable_comment_reset ();
+ inner_context, &pos,
+ savable_comment);
}
}
}
@@ -1219,10 +1217,8 @@ read_object (struct object *op, flag_context_ty outer_context)
pos.file_name = logical_file_name;
pos.line_number = op->line_number_at_start;
- savable_comment_to_xgettext_comment (savable_comment);
remember_a_message (mlp, string_of_object (op),
- null_context, &pos);
- savable_comment_reset ();
+ null_context, &pos, savable_comment);
}
last_non_comment_line = line_number;
return;