Compiler bug?
#1

Compiles:
pawn Код:
stock Test(Text:a, tag = tagof a) {
    switch(tag) {
        case (0):
            printf("SRSLY");   
        case ( tagof( Text: ) ):
            printf("SRSLY");       
        default:
            printf("SRSLY");
    }
    return 1;
}
Crashes:
pawn Код:
stock Test(Text:a, tag = tagof a) {
    switch(tag) {
        case (0):
        {
            printf("SRSLY");
        }          
        case ( tagof( Text: ) ):
        {
            printf("SRSLY");       
        }          
        default:
        {
            printf("SRSLY");
        }
    }
    return 1;
}
Any ideas?
Reply


Messages In This Thread
Compiler bug? - by Misiur - 26.02.2013, 15:04
Re: Compiler bug? - by LarzI - 26.02.2013, 15:21

Forum Jump:


Users browsing this thread: 1 Guest(s)