Get rid of loose indentation warning in a #define?
#1

I'm experimenting different methods of loops, for example:

pawn Код:
#define loop:(%0)\
{\
    new %0, j;\
    start:\
    %0 = j++;

#define range(%1);\
    while(j != %1)\
        goto start;\
}
pawn Код:
loop:(i)

    printf("%i", i); //Will print: 0 1 2 3 4

range(5);
I get loose indentation warning no matter how I write it. Anyone has a clue how to fix? The question is specifically concerning indentation warnings in #defines, nothing else.
Reply


Messages In This Thread
Get rid of loose indentation warning in a #define? - by Youarex - 26.08.2012, 19:22
Re: Get rid of loose indentation warning in a #define? - by fiki574 - 26.08.2012, 19:28
Re: Get rid of loose indentation warning in a #define? - by Youarex - 26.08.2012, 19:30
Re: Get rid of loose indentation warning in a #define? - by fiki574 - 26.08.2012, 19:34

Forum Jump:


Users browsing this thread: 1 Guest(s)