wmlparser3.py preprocess and ignored tags
Moderator: Forum Moderators
wmlparser3.py preprocess and ignored tags
When I parse file with wmlparser3.py i don't get tags that are macros or are between #ifdef MULTIPLAYER #ednif statements. It's quite logical that preprocessor make parser ignore them, but I actualy want to get this tags. I want to be able to load eras, units, macros etc. to edit them.
- Celtic_Minstrel
- Developer
- Posts: 2166
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: wmlparser3.py preprocess and ignored tags
Um... it takes a list of preprocessor defines, so just include MULTIPLAYER in that?