cgen: fix _STR 000

pull/5364/head
Alexander Medvednikov 2020-06-12 16:55:18 +00:00
parent 90f07eb64a
commit ca63b92d4f
1 changed files with 2 additions and 2 deletions

View File

@ -2942,9 +2942,9 @@ fn (mut g Gen) string_inter_literal(node ast.StringInterLiteral) {
if i >= node.exprs.len { if i >= node.exprs.len {
if escaped_val.len > 0 { if escaped_val.len > 0 {
end_string = true end_string = true
if !g.pref.autofree { //if !g.pref.autofree {
g.write('\\000') g.write('\\000')
} //}
g.write(escaped_val) g.write(escaped_val)
} }
continue continue