add <
and >
operators to enviroment
This commit is contained in:
parent
d3f54cf7af
commit
319047ccea
1 changed files with 22 additions and 0 deletions
|
@ -917,6 +917,28 @@ sema_make_builtin_types(SemaCtx *sctx)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"<",
|
||||||
|
{
|
||||||
|
.kind = SymProc,
|
||||||
|
.dtype = make_proc_type(
|
||||||
|
true,
|
||||||
|
bool_dt,
|
||||||
|
make_proc_args((DataType *[]){u64_dt, u64_dt}, 2)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
">",
|
||||||
|
{
|
||||||
|
.kind = SymProc,
|
||||||
|
.dtype = make_proc_type(
|
||||||
|
true,
|
||||||
|
bool_dt,
|
||||||
|
make_proc_args((DataType *[]){u64_dt, u64_dt}, 2)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
for (isize i = 0; i < countof(builtin_basic_types); ++i) {
|
for (isize i = 0; i < countof(builtin_basic_types); ++i) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue