Fixed the tester. Some fixes and additions for the JS backend.

This commit is contained in:
dom96 2011-10-31 15:39:01 +00:00
commit e1a82987af
4 changed files with 14 additions and 13 deletions

View file

@ -7,7 +7,8 @@
# distribution, for details about the copyright.
#
proc alert(s: cstring) {.importc, nodecl.}
proc alert*(s: cstring) {.importc, nodecl.}
proc log*(s: cstring) {.importc: "console.log", nodecl.}
type
PSafePoint = ptr TSafePoint