To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=36027
------- Additional comments from [EMAIL PROTECTED] Mon Apr 3 15:09:51 -0700
2006 -------
Well, the handling is not well defined. First of all quoting doesn't mean much
in dmake makefiles. If you define a macro with quotes then the macro will
contain
the string and the quotes.
So your example should read:
TESTX:=$(subst,some string,$(PAT) $(TEST1))
Unfortunately the current mechanism reads the function macros token wise
and parses the tokens.
For function macros it reads:
$(subst,pattern,replacement somethingtoworkon)
-- TOK1 ----------------- -- TOK2 ---------
And token 1 (TOK1) is parsed for function and then the rest
is parsed for parameters to the function.
This fails for the current example (with or without quotes)
this means:
$(subst,some string,$(PAT) $(TEST1))
-- TOK1 -- --- TOK2 ---- ????????
Certainly this is fixable, but I'd like to avoid major surgery at this point.
The current solution with erroring out is definitely better than producing
unpredictable output but we should open a new issue to also accept pattern
strings with spaces.
As a workaround you can always use $(MACRONAME:s/pattern/repl/) and use as many
spaces as you like.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]