summary refs log tree commit diff
path: root/minic
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-28 10:30:55 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-28 14:57:20 -0400
commit1b4943eb1f2a10837f56070bfe604179d0dc10e0 (patch)
treebc44762647100f8c666e20328acd4e328fe8f93e /minic
parent54d734f6a4f3e13e906e8edb8ce3e10caa4bec25 (diff)
downloadroux-1b4943eb1f2a10837f56070bfe604179d0dc10e0.tar.gz
implement export control
Diffstat (limited to 'minic')
-rw-r--r--minic/minic.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/minic/minic.y b/minic/minic.y
index 8cb4079..51debca 100644
--- a/minic/minic.y
+++ b/minic/minic.y
@@ -707,7 +707,7 @@ prot: IDENT '(' par0 ')'
 	int t, m;
 
 	varadd($1->u.v, 1, FUNC(INT));
-	fprintf(of, "function w $%s(", $1->u.v);
+	fprintf(of, "export function w $%s(", $1->u.v);
 	n = $3;
 	if (n)
 		for (;;) {