Fix for 0.20.2
This commit is contained in:
parent
f01c7ea60d
commit
4cfeea67a1
1 changed files with 1 additions and 1 deletions
|
|
@ -427,7 +427,7 @@ proc printDebug*(nimState: NimState, pnode: PNode) =
|
|||
# Compiler shortcuts
|
||||
|
||||
proc getDefaultLineInfo*(nimState: NimState): TLineInfo =
|
||||
result = newLineInfo(nimState.config, nimState.sourceFile.AbsoluteFile, -1, -1)
|
||||
result = newLineInfo(nimState.config, nimState.sourceFile.AbsoluteFile, 0, 0)
|
||||
|
||||
proc getLineInfo*(nimState: NimState, node: TSNode): TLineInfo =
|
||||
# Get Nim equivalent line:col info from node
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue