mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-16 14:01:22 +00:00
fixes #7855
This commit is contained in:
@@ -65,7 +65,7 @@ proc parseLine(p: var TTmplParser) =
|
||||
var j = 0
|
||||
let hi = p.x.len - 1
|
||||
|
||||
if hi == 0:
|
||||
if hi < 0:
|
||||
return
|
||||
|
||||
while j <= hi and p.x[j] == ' ': inc(j)
|
||||
|
||||
Reference in New Issue
Block a user