diff options
| author | Yaroslav Kolomiiets <yarikos@gmail.com> | 2017-04-20 15:34:09 +0300 |
|---|---|---|
| committer | Yaroslav Kolomiiets <yarikos@gmail.com> | 2017-04-20 15:34:09 +0300 |
| commit | b743441fb25b17bc7b81d3fb599b4ff5f149368b (patch) | |
| tree | c599f6c063ac62e09483db72e036d51b81f21216 /appl | |
| parent | e1178c6dd91d094915c837eb2cf9c854153f00e9 (diff) | |
| parent | eff2572ef4ea7e56bedf17ceacdcea226e31abb2 (diff) | |
Merged default into AIX-powerAIX-power
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) |
