mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-19 12:22:23 -07:00
new as a user-level procedure
This commit is contained in:
+2
-2
@@ -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},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user