cgen: disable the new [if xxx] logic for now
parent
1084b43ffb
commit
5a183d23a9
|
@ -16,6 +16,7 @@ fn (mut g Gen) gen_fn_decl(node ast.FnDecl, skip bool) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// Skip [if xxx] if xxx is not defined
|
// Skip [if xxx] if xxx is not defined
|
||||||
|
/*
|
||||||
for attr in node.attrs {
|
for attr in node.attrs {
|
||||||
if !attr.is_comptime_define {
|
if !attr.is_comptime_define {
|
||||||
continue
|
continue
|
||||||
|
@ -31,6 +32,7 @@ fn (mut g Gen) gen_fn_decl(node ast.FnDecl, skip bool) {
|
||||||
// return
|
// return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
g.returned_var_name = ''
|
g.returned_var_name = ''
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue