]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Whitespace changes.
authorBruno Haible <bruno@clisp.org>
Mon, 22 Sep 2003 09:57:54 +0000 (09:57 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:01 +0000 (12:11 +0200)
21 files changed:
gettext-tools/src/format-c.c
gettext-tools/src/format-lisp.c
gettext-tools/src/hostname.c
gettext-tools/src/message.c
gettext-tools/src/msgattrib.c
gettext-tools/src/msgcat.c
gettext-tools/src/msgcomm.c
gettext-tools/src/msgmerge.c
gettext-tools/src/msguniq.c
gettext-tools/src/po-lex.c
gettext-tools/src/po-time.c
gettext-tools/src/urlget.c
gettext-tools/src/write-po.c
gettext-tools/src/x-awk.c
gettext-tools/src/x-c.c
gettext-tools/src/x-elisp.c
gettext-tools/src/x-librep.c
gettext-tools/src/x-php.c
gettext-tools/src/x-python.c
gettext-tools/src/x-tcl.c
gettext-tools/src/xgettext.c

index 117cc8cf26e06fcbcbb008ee57da595254bd786d..ca17288f441155904c3c9b26d9cdb3991b8ee982 100644 (file)
@@ -751,7 +751,7 @@ format_parse (const char *format, char **invalid_reason)
       spec.allocated = spec.unnumbered_arg_count;
       spec.unnumbered = (struct unnumbered_arg *) xmalloc (spec.allocated * sizeof (struct unnumbered_arg));
       for (i = 0; i < spec.unnumbered_arg_count; i++)
-        spec.unnumbered[i].type = numbered[i].type;
+       spec.unnumbered[i].type = numbered[i].type;
       free (numbered);
       numbered_arg_count = 0;
     }
index f78ebbf79d55f60fda2c5ad50493d756f418addc..067d9b1114171176da4afda6899bd4f4081e2b7b 100644 (file)
@@ -417,7 +417,7 @@ normalize_outermost_list (struct format_arg_list *list)
   n = list->initial.count;
   for (i = j = 0; i < n; i++)
     if (j > 0
-        && equal_element (&list->initial.element[i],
+       && equal_element (&list->initial.element[i],
                          &list->initial.element[j-1]))
       {
        list->initial.element[j-1].repcount +=
@@ -435,7 +435,7 @@ normalize_outermost_list (struct format_arg_list *list)
   n = list->repeated.count;
   for (i = j = 0; i < n; i++)
     if (j > 0
-        && equal_element (&list->repeated.element[i],
+       && equal_element (&list->repeated.element[i],
                          &list->repeated.element[j-1]))
       {
        list->repeated.element[j-1].repcount +=
@@ -2469,7 +2469,7 @@ parse_upto (const char **formatp,
        unsigned int paramcount = 0;
        struct param *params = NULL;
 
-        /* Count number of directives.  */
+       /* Count number of directives.  */
        spec->directives++;
 
        /* Parse parameters.  */
index 67e60726de64c029e054c83d56ca9b13590e60ba..8b4902bbb389d3cb721bd7b55abe8fad4802be58 100644 (file)
@@ -178,7 +178,7 @@ main (int argc, char *argv[])
 This is free software; see the source for copying conditions.  There is NO\n\
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
 "),
-              "2001-2003");
+             "2001-2003");
       printf (_("Written by %s.\n"), "Bruno Haible");
       exit (EXIT_SUCCESS);
     }
index 516b856554acd0c8b01ea29d1bd6cffec86cc420..f3845a0ee7f0f51f2203999181167495688b37b9 100644 (file)
@@ -612,7 +612,7 @@ msgdomain_list_search (msgdomain_list_ty *mdlp, const char *msgid)
       mdp = mdlp->item[j];
       mp = message_list_search (mdp->messages, msgid);
       if (mp)
-        return mp;
+       return mp;
     }
   return NULL;
 }
index 7e3368931549f0554d97461d4501e7e96613eb3e..0e78d9fa4d7e07be785e43c3dd76fcd10b4993d9 100644 (file)
@@ -178,7 +178,7 @@ main (int argc, char **argv)
 
       case 'F':
        sort_by_filepos = true;
-        break;
+       break;
 
       case 'h':
        do_help = true;
index 1211aa213a1dbe7ee0d3db4ca844bb20eee71556..f78ee2b530990891e088f3f17790ef02932120d9 100644 (file)
@@ -175,7 +175,7 @@ main (int argc, char **argv)
 
       case 'F':
        sort_by_filepos = true;
-        break;
+       break;
 
       case 'h':
        do_help = true;
@@ -215,8 +215,8 @@ main (int argc, char **argv)
        break;
 
       case 'u':
-        less_than = 2;
-        break;
+       less_than = 2;
+       break;
 
       case 'V':
        do_version = true;
@@ -275,8 +275,8 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
   /* Check the message selection criteria for sanity.  */
   if (more_than >= less_than || less_than < 2)
     error (EXIT_FAILURE, 0,
-           _("impossible selection criteria specified (%d < n < %d)"),
-           more_than, less_than);
+          _("impossible selection criteria specified (%d < n < %d)"),
+          more_than, less_than);
 
   /* Determine list of files we have to process.  */
   if (files_from != NULL)
index 5f18297de40bf1ab0b02ce6cf65f370062d2feb8..6a6c41ba1b652eb6d1e754c9ceb2627f09d94573 100644 (file)
@@ -173,7 +173,7 @@ main (int argc, char *argv[])
 
       case 'F':
        sort_by_filepos = true;
-        break;
+       break;
 
       case 'h':
        do_help = true;
@@ -212,8 +212,8 @@ main (int argc, char *argv[])
        break;
 
       case 'u':
-        less_than = 2;
-        break;
+       less_than = 2;
+       break;
 
       case 'V':
        do_version = true;
@@ -292,8 +292,8 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
     less_than = INT_MAX;
   if (more_than >= less_than || less_than < 2)
     error (EXIT_FAILURE, 0,
-           _("impossible selection criteria specified (%d < n < %d)"),
-           more_than, less_than);
+          _("impossible selection criteria specified (%d < n < %d)"),
+          more_than, less_than);
 
   /* Read input files, then filter, convert and merge messages.  */
   allow_duplicates = true;
index 0ff02625cd4e1c87b40f6a0f52c8dab833eb3c75..502dd09dfec7da7167c81ecc34cd7fcae4ccaad9 100644 (file)
@@ -193,8 +193,8 @@ main (int argc, char **argv)
        break;
 
       case 'F':
-        sort_by_filepos = true;
-        break;
+       sort_by_filepos = true;
+       break;
 
       case 'h':
        do_help = true;
@@ -229,8 +229,8 @@ main (int argc, char **argv)
        break;
 
       case 's':
-        sort_by_msgid = true;
-        break;
+       sort_by_msgid = true;
+       break;
 
       case 'U':
        update_mode = true;
index c12e87097dcf4bb9e20864eb8827325c35f0f76e..6e7ff9ec6e8620da3dd787dd92746d8946701d60 100644 (file)
@@ -133,7 +133,7 @@ main (int argc, char **argv)
        break;
 
       case 'd':
-        more_than = 1;
+       more_than = 1;
        less_than = INT_MAX;
        break;
 
@@ -151,7 +151,7 @@ main (int argc, char **argv)
 
       case 'F':
        sort_by_filepos = true;
-        break;
+       break;
 
       case 'h':
        do_help = true;
@@ -190,9 +190,9 @@ main (int argc, char **argv)
        break;
 
       case 'u':
-        more_than = 0;
+       more_than = 0;
        less_than = 2;
-        break;
+       break;
 
       case 'V':
        do_version = true;
index f3555403bb7a67b0a91b2209944041d098e840a1..7e7f2503d0c2c38b3c83207e5e8cd60768617796 100644 (file)
@@ -177,7 +177,7 @@ memcpy_small (void *dst, const void *src, size_t n)
 
       *q = *p;
       if (--n > 0)
-        do *++q = *++p; while (--n > 0);
+       do *++q = *++p; while (--n > 0);
     }
 }
 
index 6583395e451ecdcb2d473d91a435a4f9743a2c94..8973fe3c7cbaf7474218b7922914558dc84c04d2 100644 (file)
@@ -1,5 +1,5 @@
 /* PO/POT file timestamps.
-   Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.
+   Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc.
    Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, April 1995.
 
    This program is free software; you can redistribute it and/or modify
@@ -36,18 +36,18 @@ difftm (const struct tm *a, const struct tm *b)
   int by = b->tm_year + TM_YEAR_ORIGIN - 1;
   /* Some compilers cannot handle this as a single return statement.  */
   long days = (
-               /* difference in day of year  */
-               a->tm_yday - b->tm_yday
-               /* + intervening leap days  */
-               + ((ay >> 2) - (by >> 2))
-               - (ay / 100 - by / 100)
-               + ((ay / 100 >> 2) - (by / 100 >> 2))
-               /* + difference in years * 365  */
-               + (long) (ay - by) * 365l);
+              /* difference in day of year  */
+              a->tm_yday - b->tm_yday
+              /* + intervening leap days  */
+              + ((ay >> 2) - (by >> 2))
+              - (ay / 100 - by / 100)
+              + ((ay / 100 >> 2) - (by / 100 >> 2))
+              /* + difference in years * 365  */
+              + (long) (ay - by) * 365l);
 
   return 60l * (60l * (24l * days + (a->tm_hour - b->tm_hour))
-                + (a->tm_min - b->tm_min))
-         + (a->tm_sec - b->tm_sec);
+               + (a->tm_min - b->tm_min))
+        + (a->tm_sec - b->tm_sec);
 }
 
 
index 3adb5a21c828d853ec264b727dde68e61cac8e70..19592aa9aeccb80a5449173169c466357142b13b 100644 (file)
@@ -135,7 +135,7 @@ main (int argc, char *argv[])
 This is free software; see the source for copying conditions.  There is NO\n\
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
 "),
-              "2001-2003");
+             "2001-2003");
       printf (_("Written by %s.\n"), "Bruno Haible");
       exit (EXIT_SUCCESS);
     }
index 4befb108fa82270b09978f8c05f82c0c87f33efc..9992ddbf75a353b35987126066f4f239340e0629 100644 (file)
@@ -400,7 +400,7 @@ memcpy_small (void *dst, const void *src, size_t n)
 
       *q = *p;
       if (--n > 0)
-        do *++q = *++p; while (--n > 0);
+       do *++q = *++p; while (--n > 0);
     }
 }
 
@@ -475,9 +475,9 @@ wrap (FILE *fp, const char *line_prefix, const char *name, const char *value,
   do
     {
       /* The \a and \v escapes were added by the ANSI C Standard.
-         Prior to the Standard, most compilers did not have them.
-         Because we need the same program on all platforms we don't provide
-         support for them here.  Thus we only support \b\f\n\r\t.  */
+        Prior to the Standard, most compilers did not have them.
+        Because we need the same program on all platforms we don't provide
+        support for them here.  Thus we only support \b\f\n\r\t.  */
 #     define is_escape(c) \
        ((c) == '\b' || (c) == '\f' || (c) == '\n' || (c) == '\r' || (c) == '\t')
 
@@ -747,7 +747,7 @@ internationalized messages should not contain the `\\%c' escape sequence"),
         this is the first line, and if the indented style is being
         used.  INDENT-F.  */
       if (line_prefix != NULL)
-        fputs (line_prefix, fp);
+       fputs (line_prefix, fp);
       if (first_line)
        {
          fputs (name, fp);
index 3f8346ffec31d2db5ab22224c0a397ad7bf84a7a..40d1194eab6d61673fa8250e53f37fdabc5d469c 100644 (file)
@@ -716,8 +716,8 @@ extract_parenthesized (message_list_ty *mlp,
          if (extract_all)
            continue;
          if (state
-             ?  extract_parenthesized (mlp, next_commas_to_skip,
-                                       next_plural_commas)
+             ? extract_parenthesized (mlp, next_commas_to_skip,
+                                      next_plural_commas)
              : extract_parenthesized (mlp, -1, 0))
            return true;
          state = 0;
index 47f6b729da1e1f29d66fff1f0bd0734f15f49ccb..05797fb51bd7ee58e379e55ab6da765a0e2cece3 100644 (file)
@@ -580,8 +580,8 @@ phase7_getc ()
       return '\b';
 
       /* The \e escape is preculiar to gcc, and assumes an ASCII
-         character set (or superset).  We don't provide support for it
-         here.  */
+        character set (or superset).  We don't provide support for it
+        here.  */
 
     case 'f':
       return '\f';
@@ -945,8 +945,8 @@ phase5_get (token_ty *tp)
 
     default:
       /* We could carefully recognize each of the 2 and 3 character
-        operators, but it is not necessary, as we only need to recognize
-        gettext invocations.  Don't bother.  */
+       operators, but it is not necessary, as we only need to recognize
+       gettext invocations.  Don't bother.  */
       tp->type = token_type_symbol;
       return;
     }
@@ -1387,8 +1387,8 @@ extract_parenthesized (message_list_ty *mlp,
          if (extract_all)
            continue;
          if (state
-             ?  extract_parenthesized (mlp, next_commas_to_skip,
-                                       next_plural_commas)
+             ? extract_parenthesized (mlp, next_commas_to_skip,
+                                      next_plural_commas)
              : extract_parenthesized (mlp, -1, 0))
            return true;
          state = 0;
index 625d79febe26097913147800f6d56683c8209fab..9c0fb9403e92d62baa40c37ab2c9ebc4736a3d56 100644 (file)
@@ -526,7 +526,7 @@ do_getc_escaped (int c, bool in_string)
     case '^':
       c = do_getc ();
       if (c == EOF)
-        return EOF;
+       return EOF;
       if (c == '\\')
        {
          c = do_getc ();
index 3af8beb4c95ab3c488f99e37113ef7fa23442b89..82d5bf28ecaf5b611f954e0e2c69bf78b2347503 100644 (file)
@@ -525,7 +525,7 @@ do_getc_escaped (int c)
     case '^':
       c = do_getc ();
       if (c == EOF)
-        return EOF;
+       return EOF;
       return c & 0x1f;
     case '0': case '1': case '2': case '3': case '4':
     case '5': case '6': case '7':
index b589fcf9257ef7974de4fbb55906e3aff750249d..fc7bd2456b1e1e6885e96ce3dd700a461bb8fa39 100644 (file)
@@ -1238,8 +1238,8 @@ extract_parenthesized (message_list_ty *mlp,
          if (extract_all)
            continue;
          if (state
-             ?  extract_parenthesized (mlp, next_commas_to_skip,
-                                       next_plural_commas)
+             ? extract_parenthesized (mlp, next_commas_to_skip,
+                                      next_plural_commas)
              : extract_parenthesized (mlp, -1, 0))
            return true;
          state = 0;
index e2c69c4d7254e4a6292512a27fde79d1d56234dd..3c562a200e0e9bb794c44e2b884ab71fbc1f041d 100644 (file)
@@ -1037,8 +1037,8 @@ extract_parenthesized (message_list_ty *mlp,
          if (extract_all)
            continue;
          if (state
-             ?  extract_parenthesized (mlp, next_commas_to_skip,
-                                       next_plural_commas)
+             ? extract_parenthesized (mlp, next_commas_to_skip,
+                                      next_plural_commas)
              : extract_parenthesized (mlp, -1, 0))
            return true;
          state = 0;
index e9866a763417b71cbd44b177796188f35293011f..b36b7994ba042b3a088a20d11b8f57f7d7ab1c53 100644 (file)
@@ -521,7 +521,7 @@ do_getc_escaped ()
       {
        int n = c - '0';
 
-        c = phase1_getc ();
+       c = phase1_getc ();
        if (c != EOF)
          {
            if (c >= '0' && c <= '7')
index 9caa7e2f1b475ecb0a85672eb4b579bf6b3ba212..1b83d0ed119ad148316875c80b6f7d2885a16771 100644 (file)
@@ -313,7 +313,7 @@ main (int argc, char *argv[])
        break;
       case 'F':
        sort_by_filepos = true;
-        break;
+       break;
       case 'h':
        do_help = true;
        break;
@@ -565,7 +565,7 @@ This version was built without iconv()."),
       fname = file_list->item[cnt];
 
       if (extractor)
-        this_file_extractor = extractor;
+       this_file_extractor = extractor;
       else
        {
          const char *extension;
@@ -1342,7 +1342,7 @@ construct_header ()
 
   if (msgid_bugs_address != NULL && msgid_bugs_address[0] == '\0')
     multiline_warning (xasprintf (_("warning: ")),
-                       xstrdup (_("\
+                      xstrdup (_("\
 The option --msgid-bugs-address was not specified.\n\
 If you are using a `Makevars' file, please specify\n\
 the MSGID_BUGS_ADDRESS variable there; otherwise please\n\