summaryrefslogtreecommitdiffstats
path: root/compile.h
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2012-12-04 00:39:21 +0000
committerStephen Dolan <mu@netsoc.tcd.ie>2012-12-04 00:39:21 +0000
commit616e8f9924ad9df22acf58c79c5d49ef6030fcb8 (patch)
tree05f9754c3b927e419d183fc012f0d29a0d7fed3a /compile.h
parenta88d53d2fda9a755c9c972a09a1206d54ca0d8b2 (diff)
Refactor function argument passing into what it always should have been.
Most visible change is that error messages when a function is called with the wrong number of arguments are much better.
Diffstat (limited to 'compile.h')
-rw-r--r--compile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.h b/compile.h
index 7ac634ba..e74afce4 100644
--- a/compile.h
+++ b/compile.h
@@ -27,7 +27,7 @@ block gen_op_var_unbound(opcode op, const char* name);
block gen_op_var_bound(opcode op, block binder);
block gen_op_block_unbound(opcode op, const char* name);
-block gen_function(const char* name, block body);
+block gen_function(const char* name, block formals, block body);
block gen_lambda(block body);
block gen_call(const char* name, block body);
block gen_subexp(block a);