cvs: pear /PhpDocumentor/phpDocumentor ParserDescCleanup.inc
| From: | Greg Beaver | Date: | Tue, 28 Feb 2006 04:37:10 +0000 |
| Subject: | cvs: pear /PhpDocumentor/phpDocumentor ParserDescCleanup.inc | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38722@lists.php.net to get a copy of this message | ||
cellog Tue Feb 28 04:37:10 2006 UTC
Modified files:
/pear/PhpDocumentor/phpDocumentor ParserDescCleanup.inc
Log:
fix notice if the last word was a parserStringWithInlineTags
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/ParserDescCleanup.inc?r1=1.3&r2=1.4&diff_format=u
Index: pear/PhpDocumentor/phpDocumentor/ParserDescCleanup.inc
diff -u pear/PhpDocumentor/phpDocumentor/ParserDescCleanup.inc:1.3
pear/PhpDocumentor/phpDocumentor/ParserDescCleanup.inc:1.4
--- pear/PhpDocumentor/phpDocumentor/ParserDescCleanup.inc:1.3 Fri Feb 24 07:08:13 2006
+++ pear/PhpDocumentor/phpDocumentor/ParserDescCleanup.inc Tue Feb 28 04:37:10 2006
@@ -464,7 +464,8 @@
if (is_string($word) && $this->checkEventPush($word, $pevent)) return;
// if (!isset($this->parse_Ps) || !$this->parse_Ps)
{
- if (!is_object($word) && ($word == ' ' &&
$this->p_vars['last_word'] == ' ')) return;
+ if (is_string($word) && is_string($this->p_vars['last_word']
&&
+ ($word == ' ' && $this->p_vars['last_word'] ==
' ')) return;
if ($pevent == PARSER_EVENT_NOEVENTS)
{
if ($this->doSimpleList($word)) return;