bugfixes mostly JS related

This commit is contained in:
Araq 2013-05-01 14:48:40 +02:00
commit 56045ad7ff
10 changed files with 37 additions and 20 deletions

View file

@ -620,4 +620,9 @@ proc isObj(obj, subclass: PNimType): bool {.compilerproc.} =
x = x.base
return true
proc addChar(x: string, c: char) {.compilerproc, noStackFrame.} =
asm """
`x`[`x`.length-1] = `c`; `x`.push(0);
"""
{.pop.}