bugfix for empty variable assignment

This commit is contained in:
2018-04-27 16:53:33 +02:00
parent 9811057bea
commit 03d1c8755c
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -218,6 +218,7 @@ size_t replaceExpressions(const char* r, char* buffer, size_t buffersize)
char* w = buffer;
char* s;
*w = 0;
while (*r)
{
s = w;
+4
View File
@@ -87,3 +87,7 @@ x=-0bla -0.1
x=-2**2 0-2**2 0+-2**2 0--2**2
# $(x) should be: 4 -4 4 -4
x=
y=$(x)
# <$(x)><$(y)> should be: <><>