fixed bug #513218 ~ as suggested
[fw/sdcc] / src / SDCCpeeph.c
index dfd7d84cd3372d46ed12da9582c7ee56fdc53d68..2812bbc92df25069532f805e5d6a2d3a5f0074ae 100644 (file)
@@ -600,6 +600,8 @@ bindVar (int key, char **s, hTab ** vtab)
              if (*vvx == ')')
                ubb--;
            }
+         // include the trailing ')'
+         *vv++ = *vvx++;
        }
       else
        *vv++ = *vvx++;