Loading pcbnew/pcb_parser.cpp +3 −3 Original line number Original line Diff line number Diff line Loading @@ -89,7 +89,7 @@ double PCB_PARSER::parseDouble() throw( IO_ERROR ) if( errno ) if( errno ) { { wxString error; wxString error; error.Printf( _( "invalid floating point number in file: <%s>\nline: %d, offset: %d" ), error.Printf( _( "invalid floating point number in\nfile: <%s>\nline: %d\noffset: %d" ), GetChars( CurSource() ), CurLineNumber(), CurOffset() ); GetChars( CurSource() ), CurLineNumber(), CurOffset() ); THROW_IO_ERROR( error ); THROW_IO_ERROR( error ); Loading @@ -98,7 +98,7 @@ double PCB_PARSER::parseDouble() throw( IO_ERROR ) if( CurText() == tmp ) if( CurText() == tmp ) { { wxString error; wxString error; error.Printf( _( "missing floating point number in file: <%s>\nline: %d, offset: %d" ), error.Printf( _( "missing floating point number in\nfile: <%s>\nline: %d\noffset: %d" ), GetChars( CurSource() ), CurLineNumber(), CurOffset() ); GetChars( CurSource() ), CurLineNumber(), CurOffset() ); THROW_IO_ERROR( error ); THROW_IO_ERROR( error ); Loading Loading @@ -754,7 +754,7 @@ T PCB_PARSER::lookUpLayer( const M& aMap ) throw( PARSE_ERROR, IO_ERROR ) #endif #endif wxString error = wxString::Format( wxString error = wxString::Format( _( "Layer %s in file <%s> at line %d, position %d, was not defined in the layers section" ), _( "Layer '%s' in file <%s> at line %d, position %d, was not defined in the layers section" ), GetChars( FROM_UTF8( CurText() ) ), GetChars( CurSource() ), GetChars( FROM_UTF8( CurText() ) ), GetChars( CurSource() ), CurLineNumber(), CurOffset() ); CurLineNumber(), CurOffset() ); Loading Loading
pcbnew/pcb_parser.cpp +3 −3 Original line number Original line Diff line number Diff line Loading @@ -89,7 +89,7 @@ double PCB_PARSER::parseDouble() throw( IO_ERROR ) if( errno ) if( errno ) { { wxString error; wxString error; error.Printf( _( "invalid floating point number in file: <%s>\nline: %d, offset: %d" ), error.Printf( _( "invalid floating point number in\nfile: <%s>\nline: %d\noffset: %d" ), GetChars( CurSource() ), CurLineNumber(), CurOffset() ); GetChars( CurSource() ), CurLineNumber(), CurOffset() ); THROW_IO_ERROR( error ); THROW_IO_ERROR( error ); Loading @@ -98,7 +98,7 @@ double PCB_PARSER::parseDouble() throw( IO_ERROR ) if( CurText() == tmp ) if( CurText() == tmp ) { { wxString error; wxString error; error.Printf( _( "missing floating point number in file: <%s>\nline: %d, offset: %d" ), error.Printf( _( "missing floating point number in\nfile: <%s>\nline: %d\noffset: %d" ), GetChars( CurSource() ), CurLineNumber(), CurOffset() ); GetChars( CurSource() ), CurLineNumber(), CurOffset() ); THROW_IO_ERROR( error ); THROW_IO_ERROR( error ); Loading Loading @@ -754,7 +754,7 @@ T PCB_PARSER::lookUpLayer( const M& aMap ) throw( PARSE_ERROR, IO_ERROR ) #endif #endif wxString error = wxString::Format( wxString error = wxString::Format( _( "Layer %s in file <%s> at line %d, position %d, was not defined in the layers section" ), _( "Layer '%s' in file <%s> at line %d, position %d, was not defined in the layers section" ), GetChars( FROM_UTF8( CurText() ) ), GetChars( CurSource() ), GetChars( FROM_UTF8( CurText() ) ), GetChars( CurSource() ), CurLineNumber(), CurOffset() ); CurLineNumber(), CurOffset() ); Loading