Fixing import path support inconsitency.
This commit is contained in:
parent
2c0dfcb302
commit
b85da579b3
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ proc getModuleName*(n: PNode): string =
|
|||
result = n.ident.s
|
||||
of nkSym:
|
||||
result = n.sym.name.s
|
||||
of nkInfix:
|
||||
of nkInfix, nkPrefix:
|
||||
if n.sons[0].kind == nkIdent and n.sons[0].ident.id == getIdent("as").id:
|
||||
# XXX hack ahead:
|
||||
n.kind = nkImportAs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue