This preprpcessor understands defines and nested if/else/endif
#define MYMACRO 0
#if (MYMACRO)
....
#else
#endif
One can now run
./nltool -c run -f src/mame/drivers/nl_pong.c -t 10
without removing preprocessor elements first. This does not work with
netlist originating from DICE currently. These have to be converted
first.
In addition, cleaned up __attribute__ madness in the code. Specifically
removed ATTR_COLD from virtual definitions to avoid the vtable being
declared as cold.