summary refs log tree commit diff
path: root/lisc/parse.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-18 12:27:50 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-18 12:27:50 -0400
commite6048212be65159d865c41a803b2c4b3e075ff49 (patch)
tree848a0cff4a2084b08470ac238b9cc8749e530a4a /lisc/parse.c
parentfff669e54a5e10ce42ffa6b3e3d85d8081782813 (diff)
downloadroux-e6048212be65159d865c41a803b2c4b3e075ff49.tar.gz
use new function syntax in tests
Diffstat (limited to 'lisc/parse.c')
-rw-r--r--lisc/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisc/parse.c b/lisc/parse.c
index 5bb3292..7fbe1e0 100644
--- a/lisc/parse.c
+++ b/lisc/parse.c
@@ -824,7 +824,7 @@ printfn(Fn *fn, FILE *f)
 	Ins *i;
 	uint n;
 
-	fprintf(f, "function $%s {\n", fn->name);
+	fprintf(f, "function $%s() {\n", fn->name);
 	for (b=fn->start; b; b=b->link) {
 		fprintf(f, "@%s\n", b->name);
 		for (p=b->phi; p; p=p->link) {