diff options
author | Araq <rumpf_a@web.de> | 2016-12-18 01:58:16 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2016-12-18 01:58:16 +0100 |
commit | bf1f1eab1f3784131c66a772684cabf245d89741 (patch) | |
tree | cfb5a056bda36272505ce361205015bd74fbfb5f /compiler/cgen.nim | |
parent | 31bc063f2d66cf0463d700b041f250ab920c8217 (diff) | |
download | Nim-bf1f1eab1f3784131c66a772684cabf245d89741.tar.gz |
revert line info generation change; produces worse results for other cases
Diffstat (limited to 'compiler/cgen.nim')
-rw-r--r-- | compiler/cgen.nim | 4 |
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: |