"proc is_xschem_file" reports SYMBOL if file contains <=2 instances of symbols. Need to figure out a different, simple and reliable way to recognize symbols that contain a title and/or a "architecture" symbol. For the time being reverted to previous state. Thanks to JL for pointing out the issue
This commit is contained in:
parent
666f05c3d5
commit
a0661be86c
|
|
@ -895,7 +895,7 @@ proc is_xschem_file {f} {
|
|||
}
|
||||
if { $score > 6 } { set ret 1} ;# Heuristic decision :-)
|
||||
if { $ret } {
|
||||
if { $instances>2} {
|
||||
if { $instances} {
|
||||
set ret SCHEMATIC
|
||||
} else {
|
||||
set ret SYMBOL
|
||||
|
|
|
|||
Loading…
Reference in New Issue