Add ERC & DRC checks for unresolved variables.

This commit is contained in:
Jeff Young
2020-03-30 14:15:59 +01:00
parent 4990d1e7b2
commit 41b5872f12
21 changed files with 249 additions and 62 deletions
-3
View File
@@ -235,9 +235,6 @@ wxString SCH_NETNAME_VALIDATOR::IsValid( const wxString& str ) const
if( SCH_CONNECTION::IsBusGroupLabel( str ) )
return wxString();
if( str.Contains( '{' ) || str.Contains( '}' ) )
return _( "Signal name contains '{' or '}' but is not a valid group bus name" );
if( ( str.Contains( '[' ) || str.Contains( ']' ) ) &&
!SCH_CONNECTION::IsBusVectorLabel( str ) )
return _( "Signal name contains '[' or ']' but is not a valid vector bus name" );