undef directive
Syntax
undef-directive: | (undef | x) [private | protected | public] <ident> |
Description
Removes variable or macro from the list. If no visibility resolution clause (public, protected, or private) is specified, ISPP first tries to remove private (to this file) variable, if there is no private (to this file) variable of the given name, it will try to remove protected and so on. When visibility resolution clause is specified, only the variable from that visibility (in case of protected the one that was declared earlier and closer to the point undef was used) gets deleted.
Examples
#undef MyVar
#undef MyMacro
#undef public MyVar