Package home | Report new bug | New search | Development Roadmap | Status: Open | Feedback | All | Closed Since Version 1.5.0a1 |
Bug #9366 | Last line with comment in <code> disappears | ||
---|---|---|---|
Submitted: | 2006-11-17 18:25 UTC | ||
From: | anode at goo dot cz | Assigned: | ashnazg |
Status: | Closed | Package: | PhpDocumentor (version 1.3.1) |
PHP Version: | 5.1.6 | OS: | Windows XP |
Roadmaps: | 1.3.2 |
block, the last line of code which ends with a comment disappears. All the previous lines are OK. If there is no comment at the last line, it's printed correctly (although indented one space right). Ran the following test script with command: phpdoc -f phpdoc.php -t docs -o "HTML:Smarty:PHP" which didn't report any errors or warnings. Test script: --------------- * this_line_works(); // even with a comment * this_one_doesnt(); // because of this comment *
* @package BugReport */ class Wheee {} ?> Expected result: ----------------