This commit is contained in:
Dick Hollenbeck 2012-12-14 13:58:50 -06:00
parent 1b4f7d6ce5
commit cd62be66e7
1 changed files with 2 additions and 2 deletions

View File

@ -1517,11 +1517,11 @@ MODULE* PCB_PARSER::parseMODULE() throw( IO_ERROR, PARSE_ERROR )
wxT( "Cannot parse " ) + GetTokenString( CurTok() ) + wxT( " as MODULE." ) );
wxPoint pt;
T token;
T token;
auto_ptr< MODULE > module( new MODULE( m_board ) );
NeedSYMBOL();
NeedSYMBOLorNUMBER();
module->SetLibRef( FromUTF8() );
for( token = NextTok(); token != T_RIGHT; token = NextTok() )