cgen: disable _STR_TMP
parent
e50706f25c
commit
684a443b08
vlib/v/gen
|
@ -2928,11 +2928,11 @@ fn (g Gen) sort_structs(typesa []table.TypeSymbol) []table.TypeSymbol {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn (mut g Gen) string_inter_literal(node ast.StringInterLiteral) {
|
fn (mut g Gen) string_inter_literal(node ast.StringInterLiteral) {
|
||||||
if g.pref.autofree {
|
//if g.pref.autofree {
|
||||||
g.write('_STR_TMP("')
|
//g.write('_STR_TMP("')
|
||||||
} else {
|
//} else {
|
||||||
g.write('_STR("')
|
g.write('_STR("')
|
||||||
}
|
//}
|
||||||
// Build the string with %
|
// Build the string with %
|
||||||
mut fieldwidths := []int{}
|
mut fieldwidths := []int{}
|
||||||
mut specs := []byte{}
|
mut specs := []byte{}
|
||||||
|
|
Loading…
Reference in New Issue