diff options
author | 2015-05-25 18:28:03 +0200 | |
---|---|---|
committer | 2015-05-25 18:28:20 +0200 | |
commit | d68fe923a1974cc82ab3b12dc1f70b509bf06a95 (patch) | |
tree | 7879c15ad5e9b44ae94b8fea95a51a5606b8cb00 /src/emu/sound/rf5c68.c | |
parent | 784410e9c933db01807fd9fbf6a811e50136c94d (diff) |
Added a simple preprocessor to the netlist parsing pipeline.
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.
Diffstat (limited to 'src/emu/sound/rf5c68.c')
0 files changed, 0 insertions, 0 deletions