diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-06-25 22:31:30 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-06-25 22:31:30 +0100 |
| commit | 3ab481df17d35ac0ac66f0bb619885e43dc060f1 (patch) | |
| tree | a5c7a17498c4e369adcaddb187bb03549f8a48e1 /src/checker.cpp | |
| parent | 4e7150b470fe9a0b0794fa9bdbac49ffc2c113be (diff) | |
`new` as a user-level procedure
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index 8eb3a3900..7c23843cb 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -27,7 +27,7 @@ enum BuiltinProcId { BuiltinProc_len, BuiltinProc_cap, - BuiltinProc_new, + // BuiltinProc_new, BuiltinProc_make, BuiltinProc_free, @@ -75,7 +75,7 @@ gb_global BuiltinProc builtin_procs[BuiltinProc_COUNT] = { {STR_LIT("len"), 1, false, Expr_Expr}, {STR_LIT("cap"), 1, false, Expr_Expr}, - {STR_LIT("new"), 1, false, Expr_Expr}, + // {STR_LIT("new"), 1, false, Expr_Expr}, {STR_LIT("make"), 1, true, Expr_Expr}, {STR_LIT("free"), 1, false, Expr_Stmt}, |