summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/x-smalltalk.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-smalltalk.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-smalltalk.c')
-rw-r--r--gettext-tools/src/x-smalltalk.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/gettext-tools/src/x-smalltalk.c b/gettext-tools/src/x-smalltalk.c
index 76383a5..9a8edc1 100644
--- a/gettext-tools/src/x-smalltalk.c
+++ b/gettext-tools/src/x-smalltalk.c
@@ -541,9 +541,8 @@ extract_smalltalk (FILE *f,
lex_pos_ty pos;
pos.file_name = logical_file_name;
pos.line_number = token.line_number;
- savable_comment_to_xgettext_comment (savable_comment);
- remember_a_message (mlp, token.string, null_context, &pos);
- savable_comment_reset ();
+ remember_a_message (mlp, token.string, null_context, &pos,
+ savable_comment);
state = 0;
break;
}
@@ -552,10 +551,9 @@ extract_smalltalk (FILE *f,
lex_pos_ty pos;
pos.file_name = logical_file_name;
pos.line_number = token.line_number;
- savable_comment_to_xgettext_comment (savable_comment);
plural_mp = remember_a_message (mlp, token.string,
- null_context, &pos);
- savable_comment_reset ();
+ null_context, &pos,
+ savable_comment);
state = 4;
break;
}
@@ -564,10 +562,9 @@ extract_smalltalk (FILE *f,
lex_pos_ty pos;
pos.file_name = logical_file_name;
pos.line_number = token.line_number;
- savable_comment_to_xgettext_comment (savable_comment);
remember_a_message_plural (plural_mp, token.string,
- null_context, &pos);
- savable_comment_reset ();
+ null_context, &pos,
+ savable_comment);
state = 0;
break;
}