revert line info generation change; produces worse results for other cases

This commit is contained in:
Araq
2016-12-18 01:58:16 +01:00
parent 31bc063f2d
commit bf1f1eab1f

View File

@@ -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: