Changeset 5288


Ignore:
Timestamp:
06/18/09 02:21:10 (3 years ago)
Author:
azawawi
Message:

[Perl 6] Fixed "Generate PIR" dying when rakudo does not parse the Perl 6 file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre-Plugin-Perl6/lib/Padre/Plugin/Perl6.pm

    r5275 r5288  
    786786    $outpanel->AppendText( $out ); 
    787787 
     788    unless(-x $hello_pir) { 
     789        Wx::MessageBox( 
     790            'Operation failed. Please check the output.', 
     791            'Error', 
     792            Wx::wxOK, 
     793            $main, 
     794        ); 
     795        return; 
     796    } 
     797     
    788798    # try to open the HTML file 
    789799    $main->setup_editor($hello_pir); 
Note: See TracChangeset for help on using the changeset viewer.