Renamed 'considerAcc' to 'considerAccents' for clarity

Added documentation string to 'considerAccents'
Modified renderParamType's assertion to allow nkAcc nodes.
This commit is contained in:
Clay Sweetser 2014-05-24 08:10:40 -04:00
commit 055cdb2cdf
12 changed files with 33 additions and 33 deletions

View file

@ -517,7 +517,7 @@ proc pragmaUses(c: PContext, n: PNode) =
proc processExc(c: PContext, x: PNode): PNode =
if x.kind in {nkAccQuoted, nkIdent, nkSym,
nkOpenSymChoice, nkClosedSymChoice}:
if considerAcc(x).s == "*":
if considerAccents(x).s == "*":
return newSymNode(ast.anyGlobal)
result = c.semExpr(c, x)
if result.kind != nkSym or sfGlobal notin result.sym.flags: