From 2ec3e6b49ecd65dce42a0332af9b4e816d87afcd Mon Sep 17 00:00:00 2001 From: Araq Date: Fri, 31 May 2013 12:20:55 +0200 Subject: more accurate effects for times.nim; bugfix for the JS codegen --- compiler/jsgen.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/jsgen.nim') 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 -- cgit 1.4.1-2-gfad0