diff --git a/compiler/sema.c b/compiler/sema.c index 2dac8a3..110ad2f 100644 --- a/compiler/sema.c +++ b/compiler/sema.c @@ -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) {