bjori Sat Feb 3 12:07:21 2007 UTC
Modified files: /phpdoc/scripts functable.php Log: Lowercase function/methods names Close annoying vim folding Make cvs diff happy with adding empty line at the end http://cvs.php.net/viewvc.cgi/phpdoc/scripts/functable.php?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/scripts/functable.php diff -u phpdoc/scripts/functable.php:1.5 phpdoc/scripts/functable.php:1.6 --- phpdoc/scripts/functable.php:1.5 Fri Feb 2 00:31:05 2007 +++ phpdoc/scripts/functable.php Sat Feb 3 12:07:21 2007 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: Sean Coates <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ -$Id: functable.php,v 1.5 2007/02/02 00:31:05 sean Exp $ +$Id: functable.php,v 1.6 2007/02/03 12:07:21 bjori Exp $ */ // direct the output of this fiel into phpdoc/phpbook/phpbook-xsl/version.xml @@ -141,7 +141,7 @@ ([^(\s]+?)\s? # functon name \((.*)\)\s* # params ([^*;{]*) # suffix - /ix'; + /ix'; /* }}} annoying folding */ $protos = preg_grep($protoRegex, file($f)); if ($protos) { @@ -150,7 +150,7 @@ $thisProto = array( 'file' => substr($f, strlen(SRC_DIR) + 1), 'type' => $m[1], - 'func' => $m[2], + 'func' => strtolower($m[2]), 'params' => $m[3], 'suffix' => $m[4], 'line' => $line + 1 @@ -349,4 +349,5 @@ echo " <function name='{$funcname}' from='{$text}'/>\n"; } ?> -</versions> \ No newline at end of file +</versions> +