1
0
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:
Alexander Medvednikov 2020-06-12 16:55:18 +00:00
parent 90f07eb64a
commit ca63b92d4f

View File

@ -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