Remove dependency to CPP: add support for conditional directives
commit4658f4f9a10235ce34b3b6127091b7accffab858
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 23 Jun 2012 16:18:31 +0000 (23 18:18 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 14 Jul 2012 18:22:20 +0000 (14 20:22 +0200)
tree1f59f432b287934a115bf8a03f6f577872d669e9
parent9b792369cbea4d031992ebd6d511f81afb82fcb3
Remove dependency to CPP: add support for conditional directives

It is now possible to use #ifdef/#ifndef to exclude some part of the
file. The implementation uses a stack to track conditionals so it is
possible to use nested constructs.
WINGs/menuparser.c
WINGs/menuparser.h
WINGs/menuparser_macros.c