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:
parent
d6b15be3df
commit
26aeed1085
@ -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>
|
||||
|
@ -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]+).*
|
||||
|
Loading…
x
Reference in New Issue
Block a user