use autofree only with -autofree for now
parent
39434155f8
commit
24fc4a4c04
|
@ -78,7 +78,7 @@ pub fn cgen(files []ast.File, table &table.Table, pref &pref.Preferences) string
|
|||
if g.file.path.ends_with('_test.v') {
|
||||
g.is_test = is_test
|
||||
}
|
||||
if g.file.path == '' || is_test || building_v {
|
||||
if g.file.path == '' || is_test || building_v || !g.pref.autofree {
|
||||
// cgen test or building V
|
||||
// println('autofree=false')
|
||||
g.autofree = false
|
||||
|
|
Loading…
Reference in New Issue