Handle description when reading netlist.

This commit is contained in:
Jeff Young 2018-06-06 01:59:56 +01:00
parent 271826f8f3
commit 9552e02727
1 changed files with 6 additions and 1 deletions

View File

@ -335,9 +335,14 @@ void KICAD_NETLIST_PARSER::parseComponent()
name = FROM_UTF8( CurText() );
NeedRIGHT();
}
else if( token == T_description )
{
NeedSYMBOLorNUMBER();
NeedRIGHT();
}
else
{
Expecting( "part or lib" );
Expecting( "part, lib or description" );
}
}
break;