diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2020-03-20 01:41:36 -0500 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2020-03-20 01:41:36 -0500 |
| commit | 4cfeea67a1152534e620db9832785f3ee5f9b259 (patch) | |
| tree | 7b409a9cf6e9fc68daaae12e62c97e0a207f1ede | |
| parent | f01c7ea60dab54c14a9d44b359dcb025812470bc (diff) | |
| download | nimterop-4cfeea67a1152534e620db9832785f3ee5f9b259.tar.gz nimterop-4cfeea67a1152534e620db9832785f3ee5f9b259.zip | |
Fix for 0.20.2
| -rw-r--r-- | nimterop/getters.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nimterop/getters.nim b/nimterop/getters.nim index 736e0db..e1aa53e 100644 --- a/nimterop/getters.nim +++ b/nimterop/getters.nim @@ -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 |
