I had the following structure:
#if COND
...
#endif
#elif COND2
...
#else
...
#endif
I have to replace elif
with two statements: else
and if
:
#if COND
...
#endif
#else
#if COND2
...
#endif
#else // error: #else after #else
...
#endif
What's wrong?
p.s. No I see what's wrong but how to write it without errors?