Commit cd62be66 authored by Dick Hollenbeck's avatar Dick Hollenbeck

fix bug

parent 1b4f7d6c
......@@ -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() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment