cvs: pear /PhpDocumentor/phpDocumentor IntermediateParser.inc
| From: | Chuck Burgess | Date: | Sun, 09 Dec 2007 06:11:35 +0000 |
| Subject: | cvs: pear /PhpDocumentor/phpDocumentor IntermediateParser.inc | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-49674@lists.php.net to get a copy of this message | ||
ashnazg Sun Dec 9 06:11:35 2007 UTC
Modified files:
/pear/PhpDocumentor/phpDocumentor IntermediateParser.inc
Log:
fix PEAR #12201 Misleading error message
http://cvs.php.net/viewvc.cgi/pear/PhpDocumentor/phpDocumentor/IntermediateParser.inc?r1=1.20&r2=1.21&diff_format=u
Index: pear/PhpDocumentor/phpDocumentor/IntermediateParser.inc
diff -u pear/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1.20
pear/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1.21
--- pear/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1.20 Thu May 3 22:28:36 2007
+++ pear/PhpDocumentor/phpDocumentor/IntermediateParser.inc Sun Dec 9 06:11:35 2007
@@ -31,7 +31,7 @@
* @author Gregory Beaver <cellog@php.net>
* @copyright 2002-2006 Gregory Beaver
* @license http://www.opensource.org/licenses/lgpl-license.php
LGPL
- * @version CVS: $Id: IntermediateParser.inc,v 1.20 2007/05/03 22:28:36 ashnazg Exp $
+ * @version CVS: $Id: IntermediateParser.inc,v 1.21 2007/12/09 06:11:35 ashnazg Exp $
* @filesource
* @link http://www.phpdoc.org
* @link http://pear.php.net/PhpDocumentor
@@ -53,7 +53,7 @@
* $docblock parameter of the parserElement
* descendant object.
* @author Gregory Beaver
- * @version $Id: IntermediateParser.inc,v 1.20 2007/05/03 22:28:36 ashnazg Exp $
+ * @version $Id: IntermediateParser.inc,v 1.21 2007/12/09 06:11:35 ashnazg Exp $
* @copyright 2002 Gregory Beaver
* @package phpDocumentor
*/
@@ -1124,7 +1124,7 @@
addWarning(PDERROR_NO_PACKAGE_TAG,'file',$this->data->parent->getPath(),$this->last->package);
}
if (isset($this->packagecategories[$this->package])
- && $this->packagecategories[$this->package] != $this->category)
+ && $this->packagecategories[$this->package] != $data->category)
addWarning(PDERROR_PACKAGECAT_SET,$this->package,
$this->packagecategories[$this->package],
$data->category);