Skip to content

Commit

Permalink
Merge pull request #80 from bscan/master
Browse files Browse the repository at this point in the history
Regex fix for compilation errors with DATA
  • Loading branch information
FractalBoy authored Jan 20, 2022
2 parents 7558fd9 + 236e463 commit f21efbf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ sub get_compilation_errors
# Hide "BEGIN failed" and "Compilation failed" messages - these provide no useful info.
#next if $line =~ /^BEGIN failed/;
#next if $line =~ /^Compilation failed/;
if (my ($error, $file, $line, $area) = $line =~ /^(.+) at (.+) line (\d+)(, .+)?/)
if (my ($error, $file, $line, $area) = $line =~ /^(.+) at (.+?) line (\d+)(, .+)?/)
{
$error .= $area if (length $area);
$line = int $line;
Expand Down

0 comments on commit f21efbf

Please sign in to comment.