summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/x-lisp.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2005-10-11 11:19:36 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:12:54 +0200
commit73e330233301afa8ea94dd84d31a09c45baa70e7 (patch)
treedb328ff4145b628c43ec4f1651f97a50afc26722 /gettext-tools/src/x-lisp.c
parent5bd5020f6eef7e48d848210cd4cd6b16d7b64d89 (diff)
downloadexternal_gettext-73e330233301afa8ea94dd84d31a09c45baa70e7.zip
external_gettext-73e330233301afa8ea94dd84d31a09c45baa70e7.tar.gz
external_gettext-73e330233301afa8ea94dd84d31a09c45baa70e7.tar.bz2
Comments are now passed via remember_a_message directly.
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;