fixes #892
This commit is contained in:
parent
a5efe84921
commit
896c96134f
4 changed files with 20 additions and 5 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue