findsubname(), decrement later
This commit is contained in:
parent
01eb593ca4
commit
31ad5ca970
|
|
@ -174,11 +174,11 @@ findsubname(dico_t *dico, SPICE_DSTRINGPTR dstr_p)
|
|||
nest--;
|
||||
else if (p[-1] == '}')
|
||||
nest++;
|
||||
|
||||
p--;
|
||||
if (nest <= 0) {
|
||||
p--;
|
||||
break;
|
||||
}
|
||||
p--;
|
||||
}
|
||||
p_end = p; /* p_end points to '{' */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue