mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-09 06:23:25 +00:00
fixes #1730
This commit is contained in:
@@ -38,7 +38,11 @@ proc raiseInvalidFormat(msg: string) {.noinline.} =
|
||||
|
||||
type
|
||||
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
|
||||
|
||||
template call(x: stmt) {.immediate.} =
|
||||
|
||||
Reference in New Issue
Block a user