mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-29 19:55:49 +01:00
Remove dependency to CPP: support for #define macros
This adds support for defining new macros, with or without parameters, which when found afterwards in the text are replaced by their definition. The complex analysis for arguments replacement is done at macro definition time, so it is done only once and the macro expansion will be fast. The macro-related functions have been placed in their own file because it is quite a complex task and we do not want filesize to explode, it is always better to keep things human-sized.
This commit is contained in:
committed by
Carlos R. Mafra
parent
88a82ab8df
commit
aaa4517df7
@@ -73,6 +73,7 @@ libWUtil_la_SOURCES = \
|
||||
memory.c \
|
||||
menuparser.c \
|
||||
menuparser.h \
|
||||
menuparser_macros.c \
|
||||
misc.c \
|
||||
notification.c \
|
||||
proplist.c \
|
||||
|
||||
Reference in New Issue
Block a user