mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 13:00:28 +00:00
Fix bug with index increment in unquote_string
This commit is contained in:
@@ -343,7 +343,7 @@ unquote_string :: proc(token: Token, spec: Specification, allocator := context.a
|
||||
i += 1
|
||||
continue
|
||||
}
|
||||
r, w := utf8.decode_rune_in_string(s)
|
||||
r, w := utf8.decode_rune_in_string(s[i:])
|
||||
if r == utf8.RUNE_ERROR && w == 1 {
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user