Support multi-threading
This commit is contained in:
parent
a7fd6a7369
commit
ab0a3bb4be
7 changed files with 173 additions and 90 deletions
|
|
@ -205,8 +205,10 @@ export function parseMI(output: string): MINode {
|
|||
let oldContent = output;
|
||||
let canBeValueList = output[0] == '[';
|
||||
output = output.substr(1);
|
||||
if (output[0] == '}' || output[0] == ']')
|
||||
if (output[0] == '}' || output[0] == ']') {
|
||||
output = output.substr(1); // ] or }
|
||||
return [];
|
||||
}
|
||||
if (canBeValueList) {
|
||||
let value = parseValue();
|
||||
if (value) { // is value list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue