diff options
author | Araq <rumpf_a@web.de> | 2013-05-31 12:20:55 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-05-31 12:20:55 +0200 |
commit | 2ec3e6b49ecd65dce42a0332af9b4e816d87afcd (patch) | |
tree | 3a61fb15dad03f03c1c6b2a02429491f90ec03ba /compiler/jsgen.nim | |
parent | ddedefd4c44133f30cd19860ff2acb9259b3d88f (diff) | |
download | Nim-2ec3e6b49ecd65dce42a0332af9b4e816d87afcd.tar.gz |
more accurate effects for times.nim; bugfix for the JS codegen
Diffstat (limited to 'compiler/jsgen.nim')
-rw-r--r-- | compiler/jsgen.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/jsgen.nim b/compiler/jsgen.nim index a76f8a883..e99c71cb8 100644 --- a/compiler/jsgen.nim +++ b/compiler/jsgen.nim @@ -1027,7 +1027,7 @@ proc genConstant(p: PProc, c: PSym) = if lfNoDecl notin c.loc.flags and not p.g.generatedSyms.containsOrIncl(c.id): let oldBody = p.body p.body = nil - genLineDir(p, c.ast) + #genLineDir(p, c.ast) genVarInit(p, c, c.ast) app(p.g.code, p.body) p.body = oldBody |