revert line info generation change; produces worse results for other cases
This commit is contained in:
parent
31bc063f2d
commit
bf1f1eab1f
1 changed files with 2 additions and 2 deletions
|
|
@ -192,8 +192,8 @@ proc freshLineInfo(p: BProc; info: TLineInfo): bool =
|
||||||
|
|
||||||
proc genLineDir(p: BProc, t: PNode) =
|
proc genLineDir(p: BProc, t: PNode) =
|
||||||
var tt = t
|
var tt = t
|
||||||
while tt.kind in {nkStmtListExpr}+nkCallKinds:
|
#while tt.kind in {nkStmtListExpr}+nkCallKinds:
|
||||||
tt = tt.lastSon
|
# tt = tt.lastSon
|
||||||
let line = tt.info.safeLineNm
|
let line = tt.info.safeLineNm
|
||||||
|
|
||||||
if optEmbedOrigSrc in gGlobalOptions:
|
if optEmbedOrigSrc in gGlobalOptions:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue