fixes #1730
This commit is contained in:
parent
e9619d7278
commit
02cc9633eb
1 changed files with 5 additions and 1 deletions
|
|
@ -38,7 +38,11 @@ proc raiseInvalidFormat(msg: string) {.noinline.} =
|
||||||
|
|
||||||
type
|
type
|
||||||
TFormatParser = object {.pure, final.}
|
TFormatParser = object {.pure, final.}
|
||||||
f: cstring
|
when defined(js):
|
||||||
|
f: string # we rely on the '\0' terminator
|
||||||
|
# which JS's native string doesn't have
|
||||||
|
else:
|
||||||
|
f: cstring
|
||||||
num, i, lineLen: int
|
num, i, lineLen: int
|
||||||
|
|
||||||
template call(x: stmt) {.immediate.} =
|
template call(x: stmt) {.immediate.} =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue