]> Cypherpunks repositories - gostls13.git/commitdiff
fixed \\ secape in strings
authorKen Thompson <ken@golang.org>
Sat, 7 Jun 2008 00:08:21 +0000 (17:08 -0700)
committerKen Thompson <ken@golang.org>
Sat, 7 Jun 2008 00:08:21 +0000 (17:08 -0700)
SVN=121553

src/cmd/gc/lex.c

index 2ed4bd63e9389cbd547cd2646518162c36a8b897..5757614c21ffa4c477738fd8a0e89cb270b84ac5 100644 (file)
@@ -749,6 +749,7 @@ loop:
        case 'r': return '\r';
        case 't': return '\t';
        case 'v': return '\v';
+       case '\\': return '\\';
 
        default:
                if(c != e)