allow macros to produce nnkGotoState and nkState
This commit is contained in:
parent
c81e9069f2
commit
d8746398c4
3 changed files with 9 additions and 2 deletions
|
|
@ -92,7 +92,7 @@ proc mangleParamName(m: BModule; s: PSym): Rope =
|
|||
|
||||
proc mangleLocalName(p: BProc; s: PSym): Rope =
|
||||
assert s.kind in skLocalVars+{skTemp}
|
||||
assert sfGlobal notin s.flags
|
||||
#assert sfGlobal notin s.flags
|
||||
result = s.loc.r
|
||||
if result == nil:
|
||||
var key = s.name.s.mangle
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue