diff options
| author | Valery Ushakov <uwe@stderr.spb.ru> | 2017-08-17 00:13:41 +0300 |
|---|---|---|
| committer | Valery Ushakov <uwe@stderr.spb.ru> | 2017-08-17 00:13:41 +0300 |
| commit | 4a062f32e3dd93bf371feb27f3ccc28d7930099e (patch) | |
| tree | 3f82934c7fd112eecc65efa0db68ed759028f76e /appl | |
| parent | c12c42236c5882afe34356ec8e4088a6ac9c3629 (diff) | |
| parent | 8823998c509302a526d8711095f664dd06997234 (diff) | |
Merged with inferno-os/inferno-os via default.
Diffstat (limited to 'appl')
| -rw-r--r-- | appl/cmd/limbo/typecheck.b | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/appl/cmd/limbo/typecheck.b b/appl/cmd/limbo/typecheck.b index 5629500b..88060840 100644 --- a/appl/cmd/limbo/typecheck.b +++ b/appl/cmd/limbo/typecheck.b @@ -759,9 +759,11 @@ concheck(n: ref Node, isglobal: int) exname(d: ref Decl): string { s := ""; - m := impmods.sym; + m: ref Sym; if(d.dot != nil) m = d.dot.sym; + else if(impmods != nil) + m = impmods.sym; if(m != nil) s += m.name+"."; if(fndec != nil) |
