CADSTAR importer: Parse missing SIGNALREF ATTROWNER

Fixes https://gitlab.com/kicad/code/kicad/-/issues/7068
This commit is contained in:
Roberto Fernandez Bautista 2021-01-13 20:24:08 +00:00 committed by Jon Evans
parent f0b11896da
commit 58fa411260
2 changed files with 3 additions and 0 deletions

View File

@ -1112,6 +1112,8 @@ void CADSTAR_ARCHIVE_PARSER::ATTRNAME::Parse( XNODE* aNode, PARSER_CONTEXT* aCon
AttributeOwner = ATTROWNER::PART_DEFINITION; AttributeOwner = ATTROWNER::PART_DEFINITION;
else if( attOwnerVal == wxT( "PIN" ) ) else if( attOwnerVal == wxT( "PIN" ) )
AttributeOwner = ATTROWNER::PIN; AttributeOwner = ATTROWNER::PIN;
else if( attOwnerVal == wxT( "SIGNALREF" ) )
AttributeOwner = ATTROWNER::SIGNALREF;
else if( attOwnerVal == wxT( "SYMBOL" ) ) else if( attOwnerVal == wxT( "SYMBOL" ) )
AttributeOwner = ATTROWNER::SYMBOL; AttributeOwner = ATTROWNER::SYMBOL;
else if( attOwnerVal == wxT( "SYMDEF" ) ) else if( attOwnerVal == wxT( "SYMDEF" ) )

View File

@ -631,6 +631,7 @@ public:
PART, ///< Only library Attributes PART, ///< Only library Attributes
PART_DEFINITION, ///< Only library Attributes PART_DEFINITION, ///< Only library Attributes
PIN, PIN,
SIGNALREF,
SYMBOL, SYMBOL,
SYMDEF, SYMDEF,
TEMPLATE, TEMPLATE,