Exploding empty list -> identity
This commit is contained in:
parent
14ce4eb176
commit
3c85bbd3b8
|
@ -64,7 +64,7 @@ write_reg(char r, char *reg)
|
||||||
return 1;
|
return 1;
|
||||||
case '*': { /* op: explode */
|
case '*': { /* op: explode */
|
||||||
int i, depth = 0;
|
int i, depth = 0;
|
||||||
if(*reg == '(') { /* tuple */
|
if(*reg == '(' && reg[1] != ')') { /* tuple */
|
||||||
reg++;
|
reg++;
|
||||||
while(reg < cap) {
|
while(reg < cap) {
|
||||||
while((c = *reg) && !spacer(c))
|
while((c = *reg) && !spacer(c))
|
||||||
|
|
Loading…
Reference in New Issue