Changeset 11061


Ignore:
Timestamp:
03/10/10 23:54:50 (2 years ago)
Author:
Sewi
Message:

Some other test failures

Location:
trunk/Padre/lib/Padre
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Document/Perl.pm

    r11008 r11061  
    346346# Implemented as a task. See Padre::Task::SyntaxChecker::Perl 
    347347sub check_syntax { 
    348     shift->_check_syntax_internals( { @_, background => 0 } ); 
     348    shift->_check_syntax_internals( { @_, 
     349        background => 0 } ); 
    349350} 
    350351 
    351352sub check_syntax_in_background { 
    352     shift->_check_syntax_internals( { @_, background => 1 } ); 
     353    shift->_check_syntax_internals( { @_, 
     354        background => 1 } ); 
    353355} 
    354356 
  • trunk/Padre/lib/Padre/Task/ErrorParser.pm

    r10997 r11061  
    4242    my $main = shift->{main}; 
    4343    return if !$main; 
    44     my $errorlist = $main->errorlist if $main; 
     44    my $errorlist = $main ? $main->errorlist : undef; 
    4545    my $data      = $self->data; 
    4646    my $parser    = $self->parser; 
Note: See TracChangeset for help on using the changeset viewer.