DebugVectors should inherit failure

This commit is contained in:
Jeffrey Pfau 2014-07-12 04:12:04 -07:00
parent 903f384e05
commit 8f151ec90f
1 changed files with 3 additions and 0 deletions

View File

@ -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;