Arbit - project tracking

PHP Depend

#114: Parsing error caused by complex string expressions

Issue revisions

  • new by Manuel Pichler at 2010-F-18 6:05
  • assigned by Manuel Pichler at 2010-F-18 6:06
  • assigned by Manuel Pichler at 2010-F-18 6:07
  • closed by Manuel Pichler at 2010-F-18 7:54
Type bug bug
State closed closed
Priority urgent urgent
Resolution fixed fixed
Assigned to Manuel Pichler
Scheduled for 0.9.10
Affected versions 0.9.x-svn
Affected components Parser
Last change Thursday 18 February 2010 07:54:12 UTC by Manuel Pichler

Short description

The following code results in a parsing error:

<?php
/**
 * @package Database
 */
class Reader
{
    function fetch()
    {
        "DESCRIBE `$table`";
    }

    function convert()
    {
    }
}


PHP_Depend outputs the following error message:

Following errors occured:
Unexpected end of token stream in file: /tmp/string-parsing.php.

  • Manuel Pichler at Thursday 18 February 2010 06:07:00 UTC

    Schedule version set.

  • Manuel Pichler at Thursday 18 February 2010 07:54:12 UTC

    Fixed in svn revision #1068.