a quick question for those familiar with pre-processor directives:
Does nesting work? for example, which directive is ended first in this example:
#ifdef A
#ifdef B
.. code
#endif '1
.. code
#endif '2
Does #endif 1 close #ifdef B (as I hope) or #ifdef A (as might explain something). I couldn't find any reference and it could have been coded either way.
thanks!
Does nesting work? for example, which directive is ended first in this example:
#ifdef A
#ifdef B
.. code
#endif '1
.. code
#endif '2
Does #endif 1 close #ifdef B (as I hope) or #ifdef A (as might explain something). I couldn't find any reference and it could have been coded either way.
thanks!