This commit is contained in:
parent
13b94c0297
commit
3c854e8c24
1 changed files with 5 additions and 0 deletions
|
|
@ -35,6 +35,9 @@ import
|
|||
|
||||
from modulegraphs import getBody
|
||||
|
||||
when defined(nimCompilerStackraceHints):
|
||||
import std/stackframes
|
||||
|
||||
const
|
||||
debugEchoCode* = defined(nimVMDebug)
|
||||
|
||||
|
|
@ -2000,6 +2003,8 @@ proc procIsCallback(c: PCtx; s: PSym): bool =
|
|||
dec i
|
||||
|
||||
proc gen(c: PCtx; n: PNode; dest: var TDest; flags: TGenFlags = {}) =
|
||||
when defined(nimCompilerStackraceHints):
|
||||
setFrameMsg c.config$n.info & " " & $n.kind & " " & $flags
|
||||
case n.kind
|
||||
of nkSym:
|
||||
let s = n.sym
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue