mirror of
https://github.com/status-im/NimYAML.git
synced 2025-01-27 11:34:56 +00:00
Made it work under Windows
This commit is contained in:
parent
f320449a2d
commit
e254d0f282
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,6 @@
|
|||||||
nimcache
|
nimcache
|
||||||
nakefile
|
nakefile
|
||||||
test/tests
|
test/tests
|
||||||
|
test/tests.exe
|
||||||
|
test/tests.pdb
|
||||||
|
test/tests.ilk
|
||||||
|
@ -157,7 +157,7 @@ template yieldError(message: string) {.dirty.} =
|
|||||||
my.content = ""
|
my.content = ""
|
||||||
|
|
||||||
template handleCR() {.dirty.} =
|
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.charoffset - 1
|
||||||
my.line.inc()
|
my.line.inc()
|
||||||
curPos = 0
|
curPos = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user