Rewrite in order to not introduce a new node kind.

This commit is contained in:
Dominik Picheta 2015-04-05 15:46:56 +01:00
commit c35fc2bb03
5 changed files with 9 additions and 8 deletions

View file

@ -20,7 +20,6 @@ proc considerQuotedIdent*(n: PNode): PIdent =
case n.kind
of nkIdent: result = n.ident
of nkSym: result = n.sym.name
of nkUnderscore: result = getIdent"_"
of nkAccQuoted:
case n.len
of 0: