SF.net SVN: geany:[4802] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Mon Apr 5 22:03:50 UTC 2010


Revision: 4802
          http://geany.svn.sourceforge.net/geany/?rev=4802&view=rev
Author:   eht16
Date:     2010-04-05 22:03:49 +0000 (Mon, 05 Apr 2010)

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

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/data/filetypes.perl

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-04-05 21:48:33 UTC (rev 4801)
+++ trunk/ChangeLog	2010-04-05 22:03:49 UTC (rev 4802)
@@ -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>

Modified: trunk/data/filetypes.perl
===================================================================
--- trunk/data/filetypes.perl	2010-04-05 21:48:33 UTC (rev 4801)
+++ trunk/data/filetypes.perl	2010-04-05 22:03:49 UTC (rev 4802)
@@ -78,3 +78,8 @@
 #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]+).*


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list