Changeset 5279
- Timestamp:
- 06/17/09 20:48:13 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre-Plugin-Perl6/lib/Padre/Plugin/Perl6/Perl6ColorizerTask.pm
r5278 r5279 184 184 my $issues = []; 185 185 for my $msg (@messages) { 186 if($msg =~ /^\#\#\#\#\# PARSE FAILED \#\#\#\#\#/ ) {186 if($msg =~ /^\#\#\#\#\# PARSE FAILED \#\#\#\#\#/i) { 187 187 # the following lines are errors until we see the warnings section 188 188 $severity = 'E'; 189 } elsif($msg =~ /^Potential difficulties/ ) {189 } elsif($msg =~ /^Potential difficulties/i) { 190 190 # all rest are warnings... 191 191 $severity = 'W'; 192 } elsif($msg =~ /^Undeclared routine/i) { 193 # all rest are warnings... 194 $severity = 'W'; 195 } elsif($msg =~ /^\s+(.+?)\s+used at (\d+)/i) { 196 # record the line number 197 $lineno = $2; 192 198 } elsif($msg =~ /line (\d+):$/i) { 193 199 # record the line number 194 200 $lineno = $1; 195 } elsif($msg =~ /^Can't locate object method ".+?" via package "STD"/ ) {201 } elsif($msg =~ /^Can't locate object method ".+?" via package "STD"/i) { 196 202 # STD lex cache is corrupt... 197 203 $msg = Wx::gettext("'STD Lex Cache' is corrupt. Please click on Plugins/Perl6/Cleanup STD Lex Cache and then re-open the file.");
Note: See TracChangeset
for help on using the changeset viewer.
