Made it work under Windows

This commit is contained in:
Felix Krause 2015-12-22 14:13:55 +01:00
parent f320449a2d
commit e254d0f282
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,3 +1,6 @@
nimcache
nakefile
test/tests
test/tests.exe
test/tests.pdb
test/tests.ilk

View File

@ -157,7 +157,7 @@ template yieldError(message: string) {.dirty.} =
my.content = ""
template handleCR() {.dirty.} =
my.bufpos = lexbase.handleLF(my, my.bufpos + my.charoffset) + my.charlen -
my.bufpos = lexbase.handleCR(my, my.bufpos + my.charoffset) + my.charlen -
my.charoffset - 1
my.line.inc()
curPos = 0