lineInfoObj (and check, expect) now return absolute paths (#8466)
This commit is contained in:
parent
931273cc6b
commit
818d9be311
3 changed files with 4 additions and 2 deletions
|
|
@ -1409,7 +1409,7 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg =
|
|||
of opcNGetFile:
|
||||
decodeB(rkNode)
|
||||
let n = regs[rb].node
|
||||
regs[ra].node = newStrNode(nkStrLit, toFilename(c.config, n.info))
|
||||
regs[ra].node = newStrNode(nkStrLit, toFullPath(c.config, n.info))
|
||||
regs[ra].node.info = n.info
|
||||
regs[ra].node.typ = n.typ
|
||||
of opcNGetLine:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue