Renamed considerAccents to considerQuotedIdent
This commit is contained in:
parent
3fd94b731c
commit
10e23e9159
11 changed files with 31 additions and 31 deletions
|
|
@ -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 considerAccents(x).s == "*":
|
||||
if considerQuotedIdent(x).s == "*":
|
||||
return newSymNode(ast.anyGlobal)
|
||||
result = c.semExpr(c, x)
|
||||
if result.kind != nkSym or sfGlobal notin result.sym.flags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue