diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/prc1/im.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prc1/im.c b/src/prc1/im.c index 68ff9f3..49ee1d9 100644 --- a/src/prc1/im.c +++ b/src/prc1/im.c @@ -123,6 +123,7 @@ static int doim(const struct lex *l, const struct tk *tk, struct prv *p) ast->fns = fns; /* hack: treat imports as a function */ ast->nfns = 1; + ast->args = p->ast->args; fp = NULL; dbg("start import %s (from %s:%d:%d)\n", im->l.loc.f, loc->f, loc->line, loc->col); |
