mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: disable the new [if xxx] logic for now
This commit is contained in:
parent
1084b43ffb
commit
5a183d23a9
@ -16,6 +16,7 @@ fn (mut g Gen) gen_fn_decl(node ast.FnDecl, skip bool) {
|
||||
return
|
||||
}
|
||||
// Skip [if xxx] if xxx is not defined
|
||||
/*
|
||||
for attr in node.attrs {
|
||||
if !attr.is_comptime_define {
|
||||
continue
|
||||
@ -31,6 +32,7 @@ fn (mut g Gen) gen_fn_decl(node ast.FnDecl, skip bool) {
|
||||
// return
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
g.returned_var_name = ''
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user