mirror of
https://github.com/golang/go
synced 2024-11-22 13:54:45 -07:00
fixed \\ secape in strings
SVN=121553
This commit is contained in:
parent
cc85574c25
commit
609cf0c3a7
@ -749,6 +749,7 @@ loop:
|
|||||||
case 'r': return '\r';
|
case 'r': return '\r';
|
||||||
case 't': return '\t';
|
case 't': return '\t';
|
||||||
case 'v': return '\v';
|
case 'v': return '\v';
|
||||||
|
case '\\': return '\\';
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if(c != e)
|
if(c != e)
|
||||||
|
Loading…
Reference in New Issue
Block a user