1
0
mirror of https://github.com/golang/go synced 2024-11-11 20:40:21 -07:00

fixed \\ secape in strings

SVN=121553
This commit is contained in:
Ken Thompson 2008-06-06 17:08:21 -07:00
parent cc85574c25
commit 609cf0c3a7

View File

@ -749,6 +749,7 @@ loop:
case 'r': return '\r';
case 't': return '\t';
case 'v': return '\v';
case '\\': return '\\';
default:
if(c != e)