mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: disable _STR_TMP
This commit is contained in:
parent
e50706f25c
commit
684a443b08
@ -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{}
|
||||
|
Loading…
Reference in New Issue
Block a user