summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-08-20 13:22:32 +0000
committerBruno Haible <bruno@clisp.org>2001-08-20 13:22:32 +0000
commiteaad536c48d3a9113e201e5f936472c623c14518 (patch)
tree34cf29751c91110990c947a4a0a11e769ee1e248 /src
parent78955a80e400c1b026a5a7db44ae723815d1003e (diff)
downloadexternal_gettext-eaad536c48d3a9113e201e5f936472c623c14518.zip
external_gettext-eaad536c48d3a9113e201e5f936472c623c14518.tar.gz
external_gettext-eaad536c48d3a9113e201e5f936472c623c14518.tar.bz2
Comments
Diffstat (limited to 'src')
-rw-r--r--src/xgettext.c6
-rw-r--r--src/xgettext.h7
2 files changed, 10 insertions, 3 deletions
diff --git a/src/xgettext.c b/src/xgettext.c
index 3dc8003..762f06f 100644
--- a/src/xgettext.c
+++ b/src/xgettext.c
@@ -830,7 +830,7 @@ remember_a_message (mlp, string, pos)
break;
/* To reduce the possibility of unwanted matches be do a two
- step match: the line must contains `xgettext:' and one of
+ step match: the line must contain `xgettext:' and one of
the possible format description strings. */
if (strstr (s, "xgettext:") != NULL)
{
@@ -1069,7 +1069,7 @@ test_whether_c_format (s)
static scanner_fp
language_to_scanner (name)
- const char *name;
+ const char *name;
{
typedef struct table_ty table_ty;
struct table_ty
@@ -1099,7 +1099,7 @@ language_to_scanner (name)
static const char *
extension_to_language (extension)
- const char *extension;
+ const char *extension;
{
typedef struct table_ty table_ty;
struct table_ty
diff --git a/src/xgettext.h b/src/xgettext.h
index 80e9cc4..381be54 100644
--- a/src/xgettext.h
+++ b/src/xgettext.h
@@ -26,14 +26,21 @@
extern int line_comment;
+/* List of messages whose msgids must not be extracted, or NULL.
+ Used by remember_a_message(). */
extern message_list_ty *exclude;
+/* Comment handling: There is a list of automatic comments that may be appended
+ to the next message. Used by remember_a_message(). */
extern void xgettext_comment_add PARAMS ((const char *str));
extern const char *xgettext_comment PARAMS ((size_t n));
extern void xgettext_comment_reset PARAMS ((void));
+/* Add a message to the list of extracted messages. */
extern message_ty *remember_a_message PARAMS ((message_list_ty *mlp,
char *string, lex_pos_ty *pos));
+/* Add an msgid_plural to a message previously returned by
+ remember_a_message. */
extern void remember_a_message_plural PARAMS ((message_ty *mp,
char *string, lex_pos_ty *pos));