]> Cypherpunks repositories - gostls13.git/commitdiff
escape \ in %Z
authorRuss Cox <rsc@golang.org>
Fri, 31 Oct 2008 00:28:33 +0000 (17:28 -0700)
committerRuss Cox <rsc@golang.org>
Fri, 31 Oct 2008 00:28:33 +0000 (17:28 -0700)
R=ken
OCL=18202
CL=18202

src/cmd/gc/subr.c

index c68938658837d0db10fabe0951666f2886f582f6..d188db60cd80b0f925448134f30065c7829be732 100644 (file)
@@ -1361,6 +1361,7 @@ loop:
                *p++ = 'n';
                break;
        case '\"':
+       case '\\':
                *p++ = '\\';
                *p++ = c;
                break;