This commit is contained in:
Araq 2014-12-17 01:43:22 +01:00
commit 02cc9633eb

View file

@ -38,6 +38,10 @@ proc raiseInvalidFormat(msg: string) {.noinline.} =
type type
TFormatParser = object {.pure, final.} TFormatParser = object {.pure, final.}
when defined(js):
f: string # we rely on the '\0' terminator
# which JS's native string doesn't have
else:
f: cstring f: cstring
num, i, lineLen: int num, i, lineLen: int