implement export control

This commit is contained in:
Quentin Carbonneaux 2016-03-28 10:30:55 -04:00
parent 54d734f6a4
commit 1b4943eb1f
27 changed files with 65 additions and 22 deletions

View file

@ -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 (;;) {