mirror of https://github.com/mgba-emu/mgba.git
DebugVectors should inherit failure
This commit is contained in:
parent
903f384e05
commit
8f151ec90f
|
@ -606,6 +606,9 @@ static struct DebugVector* _DVParse(struct CLIDebugger* debugger, const char* st
|
||||||
*dv = dvTemp;
|
*dv = dvTemp;
|
||||||
if (string[0] == ' ') {
|
if (string[0] == ' ') {
|
||||||
dv->next = _DVParse(debugger, string + 1, length - 1);
|
dv->next = _DVParse(debugger, string + 1, length - 1);
|
||||||
|
if (dv->next && dv->next->type == ERROR_TYPE) {
|
||||||
|
dv->type = ERROR_TYPE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return dv;
|
return dv;
|
||||||
|
|
Loading…
Reference in New Issue