Apache OpenOffice (AOO) Bugzilla – Issue 67585
Function macro $(nil ...) does not evaluate expression
Last modified: 2013-08-07 15:34:52 UTC
According to dmake's man page: $(nil expression) Always returns the value of $(NULL) regardless of what expression is. This function macro can be used to dis- card results of expanding macro expressions. nil expands expression and then discards the output. Well, it does not.
Created attachment 37966 [details] Patch for dmake
Committed the previous patch and a testcase to CWS dmake46. The committed patch also removes some unneeded code from function.c and adds some extra documentation about function macros to the dmake man page: For historic reasons dmake treats the following case slightly special: $(name something) If it encounters a macro with a whitespace after name and name is not literally one of the above mentioned function macro identifiers then dmake will return the recursively expanded value of $(name). The remaining something part will be expanded but the result will be dis- carded. The use of this special feature is deprecated and should not be used.
@ause: Please verify.
.