fixes the regressions introduced by fix for #5076
This commit is contained in:
parent
75345ad1aa
commit
20cf28adde
4 changed files with 18 additions and 4 deletions
|
|
@ -490,6 +490,7 @@ proc pragmaLine(c: PContext, n: PNode) =
|
|||
elif y.kind != nkIntLit:
|
||||
localError(n.info, errIntLiteralExpected)
|
||||
else:
|
||||
# XXX this produces weird paths which are not properly resolved:
|
||||
n.info.fileIndex = msgs.fileInfoIdx(x.strVal)
|
||||
n.info.line = int16(y.intVal)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue