Index: parser.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/api/parser.inc,v retrieving revision 1.24.2.15 diff -u -r1.24.2.15 parser.inc --- parser.inc 23 Jan 2008 02:49:56 -0000 1.24.2.15 +++ parser.inc 26 Apr 2008 12:57:47 -0000 @@ -209,7 +209,7 @@ $function_matches = array(); $docblock['object_type'] = 'function'; - preg_match('!^function (([a-zA-Z0-9_]+)\(.*?) \{!', substr($source, $code_start), $function_matches); + preg_match('!^function (&?([a-zA-Z0-9_]+)\(.*?) \{!', substr($source, $code_start), $function_matches); $docblock['object_name'] = $function_matches[2]; $docblock['title'] = $function_matches[2]; $docblock['signature'] = $function_matches[1];