Add error_regex to parse error messages and warnings when performing syntax checks on Perl files.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4802 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2010-04-05 22:03:49 +00:00
parent d6b15be3df
commit 26aeed1085
2 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,8 @@
Adjust Perl Compile command to use the -c command
line option to perform a syntax check instead of using the
deprecated ByteCompile module.
Add error_regex to parse error messages and warnings when performing
syntax checks on Perl files.
2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>

View File

@ -78,3 +78,8 @@ compiler=perl -cw "%f"
#compiler=perlcc -o "%e" "%f"
run_cmd=perl "%f"
# Parse syntax check error messages and warnings, examples:
# syntax error at test.pl line 7, near "{
# Unknown warnings category '1' at test.pl line 13
error_regex=.+ at (.+) line ([0-9]+).*