mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-21 14:47:04 +01:00
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)
This commit is contained in:
1 parent
aaa4517df7
commit
9b792369cb
5 files changed
+226
No files matched your search
@@ -61,6 +61,8 @@ struct w_parser_macro {
|
||||
|
||||
Bool menu_parser_skip_spaces_and_comments(WMenuParser parser);
|
||||
|
||||
void menu_parser_register_preset_macros(WMenuParser parser);
|
||||
|
||||
void menu_parser_define_macro(WMenuParser parser);
|
||||
|
||||
void menu_parser_free_macros(WMenuParser parser);
|
||||
|
||||
Reference in new issue
Block a user