Remove dependency to CPP: added pre-defined macros
commit9b792369cbea4d031992ebd6d511f81afb82fcb3
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 23 Jun 2012 13:21:43 +0000 (23 15:21 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 14 Jul 2012 18:22:20 +0000 (14 20:22 +0200)
tree018273be61b785f549e992cc424bb032b8c17ff1
parentaaa4517df792f55a23ef1566a9808581822fb9d6
Remove dependency to CPP: added pre-defined macros

A number of macros are pre-defined by WindowMaker for CPP in the
function 'MakeCPPArgs', they are now available in the internal
parser too. CPP also had some predefined macros, a subset of them
have been added.
The definition have been split in two parts:
 - the macro that are dependant on WindowMaker parameters are
defined by WindowMaker (src/rootmenu.c)
 - those that are independant, which can be defined by the parser
itself (WINGs/menuparser_macros.c)
WINGs/WINGs/WUtil.h
WINGs/menuparser.c
WINGs/menuparser.h
WINGs/menuparser_macros.c
src/rootmenu.c