mirror of https://github.com/mgba-emu/mgba.git
Debugger: Actually handle parseLexedExpression returning false
This commit is contained in:
parent
0ca0ea47d4
commit
16a565dc6b
|
@ -597,7 +597,7 @@ static struct ParseTree* _parseTree(const char** string) {
|
|||
struct ParseTree* tree = NULL;
|
||||
if (!error) {
|
||||
tree = parseTreeCreate();
|
||||
parseLexedExpression(tree, &lv);
|
||||
error = !parseLexedExpression(tree, &lv);
|
||||
}
|
||||
lexFree(&lv);
|
||||
LexVectorClear(&lv);
|
||||
|
|
Loading…
Reference in New Issue