aboutsummaryrefslogtreecommitdiff
path: root/core/strconv/strconv.odin
diff options
context:
space:
mode:
Diffstat (limited to 'core/strconv/strconv.odin')
-rw-r--r--core/strconv/strconv.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/strconv/strconv.odin b/core/strconv/strconv.odin
index 6ea8b39e6..65161a820 100644
--- a/core/strconv/strconv.odin
+++ b/core/strconv/strconv.odin
@@ -895,6 +895,7 @@ unquote_string :: proc(lit: string, allocator := context.allocator) -> (res: str
if s == `""` {
return "", false, true
}
+ s = s[1:len(s)-1]
if contains_rune(s, '\n') >= 0 {
return s, false, false