summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/jsgen.nim2
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