Proactive bug fix
This commit is contained in:
parent
3303ff3ef5
commit
d133a6b07d
1 changed files with 3 additions and 0 deletions
|
@ -140,6 +140,9 @@ Statement *make_operation(i32 type, Tag vtype, char *name, i32 nparam, ...){
|
|||
}
|
||||
if(type == BI_is || type == BI_cast)
|
||||
stat->var_type = vtype;
|
||||
if(type == BI_if)
|
||||
stat->els = NULL;
|
||||
|
||||
stat->type = type;
|
||||
|
||||
if(nparam)
|
||||
|
|
Loading…
Add table
Reference in a new issue