pawn-lang / YSI-Includes

Just the YSI include files, none of the extra stuff.
211 stars 106 forks source link

macros doesn't work well with y_iterate #688

Open Zorono opened 3 months ago

Zorono commented 3 months ago

when i try to use macros (like TEST:: ) on y_iterate, it results in

error 001: expected token: ";", but found ":"
warning 215: expression has no effect
error 029: invalid expression, assumed zero

like

#define TEST:: gng_

new Iterator:TEST::PLAYERS<GANG_MAX_PLAYERS>;

foreach(new pL : TEST::PLAYERS)
{
    // ....
}