
Hello Wolfgang,
On Fri, 22 Oct 2021 10:06:55 +0200 Wolfgang Denk wd@denx.de wrote:
For the '+=' case, there is no way to escape the '+', as all commonly used escapes are valid characters in the variable name, too.
We can define that backslash is to be also escaped if it is to be used as variable name: weird_var\+=abcd
I still think it is far more intuitive than =+.
Anyway, IMO '+' as the last character in varname is a extreme corner case; I think that no one sane actually uses it.
But even if they did, Simon's patches do not break it. Simon's patches only disallow it in board environment definition during compilation.
I think it is a completely reasonable thing to diallow board maintainers (i.e. only U-Boot developers, not users) from using such construction.
Marek