diff options
| author | gingerBill <bill@gingerbill.org> | 2018-08-25 11:12:52 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-08-25 11:12:52 +0100 |
| commit | cc88dd0b71c831fdabb4378930da2f074ff11a17 (patch) | |
| tree | b68d68e4e7fbac9e5e9c18f3917fe49a34ab84aa /src/checker.hpp | |
| parent | f050bfe8722f8470181975853c5ad6ea2b99fb6f (diff) | |
Allow for variadic `min` `max` procs
Request #252
Diffstat (limited to 'src/checker.hpp')
| -rw-r--r-- | src/checker.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/checker.hpp b/src/checker.hpp index 7f1960bfb..4472ad519 100644 --- a/src/checker.hpp +++ b/src/checker.hpp @@ -105,8 +105,8 @@ gb_global BuiltinProc builtin_procs[BuiltinProc_COUNT] = { {STR_LIT("expand_to_tuple"), 1, false, Expr_Expr}, - {STR_LIT("min"), 2, false, Expr_Expr}, - {STR_LIT("max"), 2, false, Expr_Expr}, + {STR_LIT("min"), 2, true, Expr_Expr}, + {STR_LIT("max"), 2, true, Expr_Expr}, {STR_LIT("abs"), 1, false, Expr_Expr}, {STR_LIT("clamp"), 3, false, Expr_Expr}, |