mirror of https://github.com/status-im/NimYAML.git
Made it work under Windows
This commit is contained in:
parent
f320449a2d
commit
e254d0f282
|
@ -1,3 +1,6 @@
|
|||
nimcache
|
||||
nakefile
|
||||
test/tests
|
||||
test/tests.exe
|
||||
test/tests.pdb
|
||||
test/tests.ilk
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue