aboutsummaryrefslogtreecommitdiff
path: root/src/checker.c
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-01-29 20:48:08 +0000
committerGinger Bill <bill@gingerbill.org>2017-01-29 20:48:08 +0000
commit43be91bca3bb58dab35506a3f587d6e5ceb4015b (patch)
tree86de31beea2f0699ba65a279e1ced14c1e267325 /src/checker.c
parent984e36a15147cb4ed681174fb1f97f4e1735411d (diff)
Variadic `append`
Diffstat (limited to 'src/checker.c')
-rw-r--r--src/checker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checker.c b/src/checker.c
index 7740a6711..ef28c6d20 100644
--- a/src/checker.c
+++ b/src/checker.c
@@ -173,7 +173,7 @@ gb_global BuiltinProc builtin_procs[BuiltinProc_Count] = {
{STR_LIT("free"), 1, false, Expr_Stmt},
{STR_LIT("reserve"), 2, false, Expr_Stmt},
- {STR_LIT("append"), 2, false, Expr_Stmt},
+ {STR_LIT("append"), 1, true, Expr_Expr},
{STR_LIT("size_of"), 1, false, Expr_Expr},
{STR_LIT("size_of_val"), 1, false, Expr_Expr},