diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xgettext.c | 6 | ||||
-rw-r--r-- | src/xgettext.h | 7 |
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)); |