Fix go 1.0 compatibility
This commit is contained in:
parent
c8987c4e97
commit
46851e27fa
1 changed files with 1 additions and 2 deletions
|
|
@ -87,9 +87,8 @@ func expandEscape(input string) (string, int) {
|
|||
c, w := utf8.DecodeRuneInString(input)
|
||||
if c == '\t' || c == ' ' {
|
||||
return string(c), w
|
||||
} else {
|
||||
return "\\" + string(c), w
|
||||
}
|
||||
return "\\" + string(c), w
|
||||
}
|
||||
|
||||
// Expand a double quoted string starting after a '\"'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue