Apache OpenOffice (AOO) Bugzilla – Issue 69510
Disalow assigning to (, {, :, ), } macro names
Last modified: 2013-08-07 15:34:52 UTC
This is a follow up for issue 44961: while usage of (, : and { as single char variables is chatched now, it's still possible to assign values to it: { := ppp ( := ppp : := ppp # this one is an error with 4.6 / 4.5 #bla1=$(assign ( = ttt ) bla2:=$(assign { = ttt ) bla3:=$(assign : = ttt )
Created attachment 47397 [details] Patch for dmake
Committed + testcase to dmake411.
Please verify
This patch also added an additional check for assignments to empty macro names. Making this an error was not a good idea as this feature is used in some places. See issue 80547 for details. Change the error to a warning for now, but depending on issue 80547 we might choose a different solution.
I think a warning is good enough here, but depending on issue 80547 we can easily make it an error later. Please comment/verify
.
dmake 4.11 is in use now