mirror of https://github.com/KLayout/klayout.git
Resolve include-coded lines for DRC/LVS logs in verbose mode
This commit is contained in:
parent
476c7156ab
commit
bf95e51332
|
|
@ -2317,7 +2317,11 @@ CODE
|
||||||
c !~ /drc.lym:/ && c !~ /_drc_\w+\.rb:/ && c !~ /\(eval\)/
|
c !~ /drc.lym:/ && c !~ /_drc_\w+\.rb:/ && c !~ /\(eval\)/
|
||||||
end
|
end
|
||||||
if cc =~ /(.*)\s*:\s*(\d+)\s*:\s*in.*$/
|
if cc =~ /(.*)\s*:\s*(\d+)\s*:\s*in.*$/
|
||||||
return File::basename($1) + ":" + $2
|
path = $1
|
||||||
|
line = $2.to_i
|
||||||
|
real_path = RBA::Macro::real_path(path, line)
|
||||||
|
real_line = RBA::Macro::real_line(path, line)
|
||||||
|
return File::basename(real_path) + ":" + real_line.to_s
|
||||||
else
|
else
|
||||||
return cc
|
return cc
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue