svn: /web/php-gcov/trunk/cron/ compile_results.php
| From: | Felipe Pena | Date: | Wed, 07 Sep 2011 18:42:50 +0000 |
| Subject: | svn: /web/php-gcov/trunk/cron/ compile_results.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-12143@lists.php.net to get a copy of this message | ||
felipe Wed, 07 Sep 2011 18:42:50 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=316380
Log:
- Don't take a note as error
Changed paths:
U web/php-gcov/trunk/cron/compile_results.php
Modified: web/php-gcov/trunk/cron/compile_results.php
===================================================================
--- web/php-gcov/trunk/cron/compile_results.php 2011-09-07 18:09:34 UTC (rev 316379)
+++ web/php-gcov/trunk/cron/compile_results.php 2011-09-07 18:42:50 UTC (rev 316380)
@@ -33,8 +33,8 @@
// Regular expression to select the error and warning information
// tuned for gcc 3.4, 4.0 and 4.1
$gcc_regex = '/^((.+)(\(\.[a-z]+\+0x[[:xdigit:]]+\))?: In function
[`\'](\w+)\':\s+)?'.
- '((?(1)(?(3)[^:\n]+|\2)|[^:\n]+)):(\d+)(?::\d+)?: (?:(error|warning):\s+)?(.+)'.
- str_repeat('(?:\s+\5:(\d+)(?::\d+)?: (?:(error|warning):\s+)?(.+))?', 99). // capture up
to 100 errors
+ '((?(1)(?(3)[^:\n]+|\2)|[^:\n]+)):(\d+)(?::\d+)?: (?:(error|note|warning):\s+)?(.+)'.
+ str_repeat('(?:\s+\5:(\d+)(?::\d+)?: (?:(error|note|warning):\s+)?(.+))?', 99). //
capture up to 100 errors
'/mS';
preg_match_all($gcc_regex, $data, $data, PREG_SET_ORDER);