summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--compiler/cgen.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/cgen.nim b/compiler/cgen.nim
index 0cb1de142..81d13140d 100644
--- a/compiler/cgen.nim
+++ b/compiler/cgen.nim
@@ -192,8 +192,8 @@ proc freshLineInfo(p: BProc; info: TLineInfo): bool =
 
 proc genLineDir(p: BProc, t: PNode) =
   var tt = t
-  while tt.kind in {nkStmtListExpr}+nkCallKinds:
-    tt = tt.lastSon
+  #while tt.kind in {nkStmtListExpr}+nkCallKinds:
+  #  tt = tt.lastSon
   let line = tt.info.safeLineNm
 
   if optEmbedOrigSrc in gGlobalOptions: