From 684a443b0868098f58b1b02afd7bb0f6f7f735ee Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Wed, 10 Jun 2020 21:24:53 +0000 Subject: [PATCH] cgen: disable _STR_TMP --- vlib/v/gen/cgen.v | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vlib/v/gen/cgen.v b/vlib/v/gen/cgen.v index d5472b1e09..8227db21e3 100644 --- a/vlib/v/gen/cgen.v +++ b/vlib/v/gen/cgen.v @@ -2928,11 +2928,11 @@ fn (g Gen) sort_structs(typesa []table.TypeSymbol) []table.TypeSymbol { } fn (mut g Gen) string_inter_literal(node ast.StringInterLiteral) { - if g.pref.autofree { - g.write('_STR_TMP("') - } else { - g.write('_STR("') - } + //if g.pref.autofree { + //g.write('_STR_TMP("') + //} else { + g.write('_STR("') + //} // Build the string with % mut fieldwidths := []int{} mut specs := []byte{}