PHPdoc parsers $obj->define("test", $var) as constant

From: Date: Wed, 28 Nov 2001 01:29:46 +0000
Subject: PHPdoc parsers $obj->define("test", $var) as constant
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-545@lists.php.net to get a copy of this message
First of all. PHPdoc works great! One minor tweak to the PHPdoc could improve the parser: It appears that the following code: $tquery->define("sysid", $sysid) is greped as "constant". The Regular Expression in line 360 of phpdoc/parser/PhpdocParserRegExp.php starts with @^%sdefine%s\(%s(....... For a quick fix I added [^>] like this: @^[^>]%sdefine%s\(%s(....... Florian

« previous php.pear.general (#545) next »