]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Comments
authorBruno Haible <bruno@clisp.org>
Mon, 20 Aug 2001 13:22:32 +0000 (13:22 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 20 Aug 2001 13:22:32 +0000 (13:22 +0000)
src/xgettext.c
src/xgettext.h

index 3dc80036593e02a8a57ddd01c510583bd4815169..762f06f4beaaf6babfc3e44c524e86a39f3ca889 100644 (file)
@@ -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
index 80e9cc460411bbac68e6635cee6f4979ecb7c0a9..381be5475db3163ee9a3452f3f7ff5ac74edb604 100644 (file)
 
 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));