attempt to make C codegen aware of 'gensym'
This commit is contained in:
parent
a59874e312
commit
f3a2eec13b
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ proc mangleName(s: PSym): PRope =
|
||||||
else: InternalError(s.info, "mangleName")
|
else: InternalError(s.info, "mangleName")
|
||||||
when oKeepVariableNames:
|
when oKeepVariableNames:
|
||||||
let keepOrigName = s.kind in skLocalVars - {skForVar} and
|
let keepOrigName = s.kind in skLocalVars - {skForVar} and
|
||||||
{sfFromGeneric, sfGlobal, sfShadowed} * s.flags == {} and
|
{sfFromGeneric, sfGlobal, sfShadowed, sfGenSym} * s.flags == {} and
|
||||||
not isKeyword(s.name)
|
not isKeyword(s.name)
|
||||||
# XXX: This is still very experimental
|
# XXX: This is still very experimental
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue