Fixed #525 - report true source line in DRC and LVS verbose mode

This commit is contained in:
Matthias Koefferlein 2020-03-26 17:20:15 +01:00
parent 8afd907abb
commit 04aa005247
1 changed files with 1 additions and 1 deletions

View File

@ -1334,7 +1334,7 @@ CODE
def src_line
cc = caller.find do |c|
c !~ /drc.lym:/ && c !~ /\(eval\)/
c !~ /drc.lym:/ && c !~ /_drc_\w+\.rb:/ && c !~ /\(eval\)/
end
if cc =~ /(.*)\s*:\s*(\d+)\s*:\s*in.*$/
return File::basename($1) + ":" + $2