Remove dependency to CPP: support for #include directive
commit88a82ab8df5339665008643bc41475620434e413
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 17 Jun 2012 22:49:53 +0000 (18 00:49 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 14 Jul 2012 18:22:20 +0000 (14 20:22 +0200)
tree20cf67fc308af64ac035fdd3f01e670036e8da6e
parented9482b626b7e4072806e5982515a446dae39834
Remove dependency to CPP: support for #include directive

The parser is prepared to handle '#' directives, starting with file
inclusion. The search path for the file are taken from what was
actually given to CPP. There is an arbitrary limit to the inclusion
nesting, which is actually not a design limitation but a security
to avoid infinite include loops.
WINGs/WINGs/WUtil.h
WINGs/menuparser.c
WINGs/menuparser.h
src/rootmenu.c