diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2014-02-14 23:57:10 +0000 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2014-02-14 23:57:10 +0000 |
commit | 66b0582a0bc20cdd428b3e7de86188f53e7a93b5 (patch) | |
tree | 8f9e531c6d6f2d197c86cc40a2aba897d3b81a7e /compiler/lookups.nim | |
parent | 2fa22078b83593b8a25d536cff18efa929d30016 (diff) | |
parent | 2b9311e9f185c5cb95a7ce70035efce63b4e6d89 (diff) | |
download | Nim-66b0582a0bc20cdd428b3e7de86188f53e7a93b5.tar.gz |
Merge branch 'devel' into newasync
Diffstat (limited to 'compiler/lookups.nim')
-rw-r--r-- | compiler/lookups.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/lookups.nim b/compiler/lookups.nim index c31eb3121..93a7b7c72 100644 --- a/compiler/lookups.nim +++ b/compiler/lookups.nim @@ -32,6 +32,7 @@ proc considerAcc*(n: PNode): PIdent = of nkSym: id.add(x.sym.name.s) else: globalError(n.info, errIdentifierExpected, renderTree(n)) result = getIdent(id) + of nkOpenSymChoice, nkClosedSymChoice: result = n.sons[0].sym.name else: globalError(n.info, errIdentifierExpected, renderTree(n)) |