hholzgra Sat Jan 14 21:43:44 2006 UTC
Modified files:
/phpdoc/scripts php.ini zendapi_macros.php
Log:
there is no whitespace between macro name and '(' for parameterized macros
http://cvs.php.net/viewcvs.cgi/phpdoc/scripts/php.ini?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/scripts/php.ini
diff -u phpdoc/scripts/php.ini:1.3 phpdoc/scripts/php.ini:1.4
--- phpdoc/scripts/php.ini:1.3 Tue Aug 12 11:25:04 2003
+++ phpdoc/scripts/php.ini Sat Jan 14 21:43:44 2006
@@ -8,8 +8,9 @@
safe_mode = Off
max_execution_time = 0
memory_limit = 16M
-display_errors = Off
-display_startup_errors = Off
+display_errors = On
+display_startup_errors = On
+error_reporting = E_ALL
track_errors = Off
html_errors = Off
variables_order = "GPCS"
http://cvs.php.net/viewcvs.cgi/phpdoc/scripts/zendapi_macros.php?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/scripts/zendapi_macros.php
diff -u phpdoc/scripts/zendapi_macros.php:1.4
phpdoc/scripts/zendapi_macros.php:1.5
--- phpdoc/scripts/zendapi_macros.php:1.4 Sat Jan 14 21:36:12 2006
+++ phpdoc/scripts/zendapi_macros.php Sat Jan 14 21:43:44 2006
@@ -34,7 +34,7 @@
// now check for all known macro prefixes
foreach ($macro_prefixes as $prefix) {
// does this line match a macro definition?
- if (preg_match("|#define\\s*($prefix\\w+)\\s*\\((.*)\\)|U", $line,
$matches)) {
+ if (preg_match("|#define\\s*($prefix\\w+)\\((.*)\\)|U", $line,
$matches)) {
// get macro name and parameter list from the matches
$macro = $matches[1];
$params = preg_split('|,\s+|', $matches[2]);