summary refs log tree commit diff
path: root/minic/minic.y
diff options
context:
space:
mode:
Diffstat (limited to 'minic/minic.y')
-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 (;;) {