FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=14472&edit=1

ID: 14472
Updated by: demon.gene@gmail.com
Reported By: indigo at crindigo dot com
Summary: Incorrect line numbers with heredoc
Status: Open
Type: Bug
Package: PhpDocumentor
Operating System: Ubuntu Linux (x86)
Package Version: 1.4.2
PHP Version: 5.2.6
-Roadmap Versions:
+Roadmap Versions: 1.4.3
New Comment:

-Roadmap Versions:
+Roadmap Versions: 1.4.3



Previous Comments:
------------------------------------------------------------------------

[2008-08-07 20:13:18] indigo

Description:
------------
When viewing a procedural page, includes/functions (and I presume other
things), are off by one line, after a heredoc is encountered in the
file. I'm guessing the lines would be off in other pages, but I haven't
tested them. PHP's tokenizer appears to put a newline in the
T_START_HEREDOC token, so adding that to
phpDocumentorTWordParser::$_nl_check seems to fix it. Not sure if
something else needs to be changed in another location, or if that's
enough.

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJul 21, '09 at 3:37p
activeJul 21, '09 at 3:37p
posts1
users1
websitepear.php.net

1 user in discussion

Demon Gene: 1 post

People

Translate

site design / logo © 2022 Grokbase