mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-01 10:27:53 +02:00
Fixed #525 - report true source line in DRC and LVS verbose mode
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user