Menu

#4 Parser Error 2

open
nobody
None
5
2002-01-03
2002-01-03
No

I defined some constants, so see the example

/**
* @const TEST
*/
define(TEST,'abc');

/**
* @const OTHER
*/
define('OTHER',TEST.'defg');

so in this example the Report say many errors. I added
pseudo shit code ;)

/**
* @const TEST
*/
define(TEST,'abc');

/**
* @const OTHER
*/
define('OTHER',''.TEST.'defg');

The reports say its all ok. So i hope you understand
the Problem. The parser check the next ' not the
next ,
The code looks dirty, i hate it.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.