summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/x-tcl.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-tcl.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-tcl.c')
-rw-r--r--gettext-tools/src/x-tcl.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/gettext-tools/src/x-tcl.c b/gettext-tools/src/x-tcl.c
index ace1372..fb6357e 100644
--- a/gettext-tools/src/x-tcl.c
+++ b/gettext-tools/src/x-tcl.c
@@ -885,10 +885,8 @@ read_command (int looking_for, 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 (mlp, string_of_word (&inner),
- inner_context, &pos);
- savable_comment_reset ();
+ inner_context, &pos, savable_comment);
}
}
@@ -940,10 +938,9 @@ read_command (int looking_for, 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_word (&inner),
- inner_context, &pos);
- savable_comment_reset ();
+ inner_context, &pos,
+ savable_comment);
if (argnum2 > 0)
plural_mp = mp;
}
@@ -956,10 +953,9 @@ read_command (int looking_for, 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_word (&inner),
- inner_context, &pos);
- savable_comment_reset ();
+ inner_context, &pos,
+ savable_comment);
}
}
}