Convert (island) to (island yes).

This commit is contained in:
Jeff Young 2025-08-05 12:10:08 +01:00
parent d3f2bec6a6
commit 5a70fc0bd5
2 changed files with 2 additions and 3 deletions

View File

@ -2711,7 +2711,7 @@ void PCB_IO_KICAD_SEXPR::format( const ZONE* aZone ) const
m_out->Print( "(layer %s)", m_out->Quotew( LSET::Name( layer ) ).c_str() ); m_out->Print( "(layer %s)", m_out->Quotew( LSET::Name( layer ) ).c_str() );
if( aZone->IsIsland( layer, ii ) ) if( aZone->IsIsland( layer, ii ) )
m_out->Print( "(island)" ); KICAD_FORMAT::FormatBool( m_out, "island", true );
const SHAPE_LINE_CHAIN& chain = fv->COutline( ii ); const SHAPE_LINE_CHAIN& chain = fv->COutline( ii );

View File

@ -7405,8 +7405,7 @@ ZONE* PCB_IO_KICAD_SEXPR_PARSER::parseZONE( BOARD_ITEM_CONTAINER* aParent )
if( token == T_island ) if( token == T_island )
{ {
island = true; island = parseMaybeAbsentBool( true );
NeedRIGHT();
NeedLEFT(); NeedLEFT();
token = NextTok(); token = NextTok();
} }