cvs: pear /PHPDoc/parser PhpdocParser.php
| From: | Hayk Chamyan | Date: | Tue, 18 Dec 2001 13:54:49 +0000 |
| Subject: | cvs: pear /PHPDoc/parser PhpdocParser.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-1603@lists.php.net to get a copy of this message | ||
hayk Tue Dec 18 08:54:49 2001 EDT
Modified files:
/pear/PHPDoc/parser PhpdocParser.php
Log:
Fixed a minor bug occurring upon getPhpdocParagraphs() calling.
Index: pear/PHPDoc/parser/PhpdocParser.php
diff -u pear/PHPDoc/parser/PhpdocParser.php:1.4 pear/PHPDoc/parser/PhpdocParser.php:1.5
--- pear/PHPDoc/parser/PhpdocParser.php:1.4 Wed Aug 29 06:18:06 2001
+++ pear/PHPDoc/parser/PhpdocParser.php Tue Dec 18 08:54:49 2001
@@ -4,7 +4,7 @@
*
* Note that a lot of communication is done using shared instance variables.
*
-* @version $Id: PhpdocParser.php,v 1.4 2001/08/29 10:18:06 chregu Exp $
+* @version $Id: PhpdocParser.php,v 1.5 2001/12/18 13:54:49 hayk Exp $
*/
class PhpdocParser extends PhpdocClassParser {
@@ -248,7 +248,7 @@
*/
function addModule($group, $filename) {
- $data = $this->getPhpdocParagraphs($this->phpfiles[$filename],
array("classes", "variables") );
+ $data = $this->getPhpdocParagraphs($this->phpfiles[$filename],
array("classes"=>true, "variables"=>true) );
// free memory as soon as possible...
unset($this->phpfiles[$filename]);
@@ -280,7 +280,7 @@
*/
function addClass($classname, $filename) {
- $data = $this->getPhpdocParagraphs($this->phpfiles[$filename],
array("modules"));
+ $data = $this->getPhpdocParagraphs($this->phpfiles[$filename],
array("modules"=>true));
// free memory as soon as possible...
unset($this->phpfiles[$filename]);