CADSTAR Schematic Archive Importer: Parse TESTPOINT
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7574
This commit is contained in:
parent
09ebfcd650
commit
c98106ebcf
|
@ -613,6 +613,11 @@ void CADSTAR_SCH_ARCHIVE_PARSER::SYMBOLVARIANT::Parse( XNODE* aNode, PARSER_CONT
|
|||
Type = TYPE::GLOBALSIGNAL;
|
||||
Reference = GetXmlAttributeIDString( cNode, 0 );
|
||||
}
|
||||
else if( cNodeName == wxT( "TESTPOINT" ) )
|
||||
{
|
||||
Type = TYPE::TESTPOINT;
|
||||
CheckNoNextNodes( cNode );
|
||||
}
|
||||
else
|
||||
{
|
||||
THROW_UNKNOWN_NODE_IO_ERROR( cNodeName, aNode->GetName() );
|
||||
|
|
|
@ -222,12 +222,13 @@ public:
|
|||
enum class TYPE
|
||||
{
|
||||
GLOBALSIGNAL,
|
||||
SIGNALREF
|
||||
SIGNALREF,
|
||||
TESTPOINT
|
||||
//TODO: there might be others
|
||||
};
|
||||
|
||||
TYPE Type;
|
||||
wxString Reference;
|
||||
wxString Reference = wxEmptyString;
|
||||
|
||||
void Parse( XNODE* aNode, PARSER_CONTEXT* aContext ) override;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue