Within an <MvIFDEF> block that does not generate code, the compiler still does syntax and logical parsing of the source, such that tags that require end tags (e.g., <MvCALL> and </MvCALL>) are still checked and matched.
In this example, debugging script will be included in the compiled program if the symbolic code DEBUG is passed on the compiler command line.
<MvIFDEF NAME = "DEBUG"> ... Script included in the output if DEBUG is set .... </MvIFDEF>
The compiler command line instructs the compiler to include the script in the <MvIFDEF> block. Optionally other symbols can be set.
mvc -D DEBUG [-D ANOTHER_SYMBOL] source.mv
User Annotations: MvIFDEF