]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
sh: Fix typo
authorDaiki Ueno <ueno@gnu.org>
Wed, 17 Dec 2014 03:48:19 +0000 (12:48 +0900)
committerDaiki Ueno <ueno@gnu.org>
Wed, 17 Dec 2014 03:48:19 +0000 (12:48 +0900)
* x-sh.c (phase2_getc): Fix typo: debackslahificication ->
debackslashification.

gettext-tools/src/ChangeLog
gettext-tools/src/x-sh.c

index 2268b5fcf502a633050965bef43af0ed0a8aa56e..75f86f9ffbbc486c977880fc294bba8b08976210 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-17  Daiki Ueno  <ueno@gnu.org>
+
+       * x-sh.c (phase2_getc): Fix typo: debackslahificication ->
+       debackslashification.
+
 2014-12-12  Daiki Ueno  <ueno@gnu.org>
 
        * read-desktop.c (desktop_parse): Check and ignore
index 10a57e7c3aef5aec5eddacebf7808aa25ed7b483..81776d39d874ec4545a0d8e3451a766fbb2db88a 100644 (file)
@@ -551,14 +551,14 @@ phase2_getc ()
     }
   if (c == '\\')
     {
-      /* Number of debackslahificication passes that are active at the
+      /* Number of debackslashification passes that are active at the
          current point.  */
-      unsigned int debackslahify =
+      unsigned int debackslashify =
         nested_backquotes + (open_singlequote ? 0 : 1);
       /* Normal number of backslashes that yield a single backslash in the
          final output.  */
       unsigned int expected_count =
-        (unsigned int) 1 << debackslahify;
+        (unsigned int) 1 << debackslashify;
       /* Number of backslashes found.  */
       unsigned int count;
 
@@ -592,7 +592,7 @@ phase2_getc ()
         }
       else if (c == '"')
         {
-          /* Each debackslahificication pass converts \\ to \ and \" to ";
+          /* Each debackslashification pass converts \\ to \ and \" to ";
              passes corresponding to `...` drop a lone " whereas passes
              corresponding to "`...`" leave it alone.  Therefore, the
              minimum number of backslashes needed to get one double-quote
@@ -645,8 +645,8 @@ phase2_getc ()
       else
         {
           /* When not followed by a quoting character or backslash or dollar,
-             a backslash survives a debackslahificication pass unmodified.
-             Therefore each debackslahificication pass performs a
+             a backslash survives a debackslashification pass unmodified.
+             Therefore each debackslashification pass performs a
                count := (count + 1) >> 1
              operation.  Therefore the minimum number of backslashes needed
              to get one backslash in the end is  (expected_count >> 1) + 1.  */