Skip to content

macros doesn't work well with y_iterate #688

Open
@Zorono

Description

@Zorono

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)
{
    // ....
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions