Merge pull request #1661 from trustable-code/PR7

Fix issue #1660
This commit is contained in:
Andreas Rumpf 2014-11-16 20:41:56 +01:00
commit 11cb8ff890

View file

@ -1669,7 +1669,8 @@ proc genHeader(): PRope =
"/* (c) 2014 Andreas Rumpf */$n$n" & "/* (c) 2014 Andreas Rumpf */$n$n" &
"$nvar Globals = this;$n" & "$nvar Globals = this;$n" &
"var framePtr = null;$n" & "var framePtr = null;$n" &
"var excHandler = null;$n", "var excHandler = null;$n" &
"var lastJSError = null;$n",
[toRope(VersionAsString)]) [toRope(VersionAsString)])
proc genModule(p: PProc, n: PNode) = proc genModule(p: PProc, n: PNode) =