]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix handling of double backslashes in single-quoted strings.
authorBruno Haible <bruno@clisp.org>
Mon, 23 Jun 2003 19:59:18 +0000 (19:59 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:45 +0000 (12:10 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/x-perl.c

index f67b9630e4f45300a56d3f8cad3090cff47a55fe..2026c962fada4a2578e22c4e98e7878cd0b9fcb4 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-23  Guido Flohr  <guido@imperia.net>
+
+       * x-perl.c (extract_quotelike_pass3): Fix handling of doubled
+       backslashes in single-quoted strings.
+
 2003-06-23  Bruno Haible  <bruno@clisp.org>
 
        * format-perl-bracket.c (format_check): Allow additional bracketed
index b9d9c08b641ea48d0f9112fe3fe700495cebbfe3..e11923b433454e0cdc5459119da30b87d976a1ce 100644 (file)
@@ -827,7 +827,7 @@ extract_quotelike_pass3 (token_ty *tp, int error_level)
            case '\\':
              if (crs[1] == '\\')
                {
-                 ++crs;
+                 crs += 2;
                  buffer[bufpos++] = '\\';
                  break;
                }