remove sfFakeConst
This commit is contained in:
parent
a8edf67a28
commit
7d62f031f6
5 changed files with 4 additions and 16 deletions
|
|
@ -648,7 +648,7 @@ proc getConstExpr(m: PSym, n: PNode): PNode =
|
|||
if isDefined(s.name):
|
||||
result = newStrNodeT(lookupSymbol(s.name), n)
|
||||
else:
|
||||
if sfFakeConst notin s.flags: result = copyTree(s.ast)
|
||||
result = copyTree(s.ast)
|
||||
of {skProc, skMethod}:
|
||||
result = n
|
||||
of skType:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue