Hi,
while evaluating Visual Paradigm 8.3 SP2 (Build sp2_20120104) I found out that during Instant Reverse PHP5 source many files failed to import due to following errors:
- fails to parse multiline constants with message “Error occured when analysys: … filename.php. Encountered “,” at line 17 column 34”.
Source code example:
class PdfProcessor{
// VP fails to parse multiline constants definitions
const
/**
* Delimiter for FieldId[DELIMITER]docidx-section
*/
DELIMITER = '___',
/**
* Any unique hash string. This is used to temporary mask already translated field IDs.
*/
HASH = '-#hash#-',
/**
* Whether to enable log messages in ajax responses
*/
SHOWLOG = false,
/**
* JQuery selector for DIV layer holding errors
*/
DIVERR = '#errors-content';
}
- It is not able to parse following line of PHP code:
"Error occured when analysys: … filename.php. Encountered “or define " at line 11 column 22”
defined('YII_DEBUG') or define('YII_DEBUG',false);
BTW, it would be nice to add “Copy to clipboard” button to displayed error message.
Please can you fix into next SP or release.
Thank you.
Lubos