mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: fix _STR 000
This commit is contained in:
parent
90f07eb64a
commit
ca63b92d4f
@ -2942,9 +2942,9 @@ fn (mut g Gen) string_inter_literal(node ast.StringInterLiteral) {
|
||||
if i >= node.exprs.len {
|
||||
if escaped_val.len > 0 {
|
||||
end_string = true
|
||||
if !g.pref.autofree {
|
||||
//if !g.pref.autofree {
|
||||
g.write('\\000')
|
||||
}
|
||||
//}
|
||||
g.write(escaped_val)
|
||||
}
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user