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.
This commit is contained in:
Stephen Dolan committed 2012-12-04 00:39:21 +00:00
1 parent a88d53d2fd
commit 616e8f9924
8 files changed
+103 -105

No files matched your search

+1 -1
View File
@@ -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);