mirror of https://github.com/mgba-emu/mgba.git
Debugger: Actually handle parseLexedExpression returning false
This commit is contained in:
parent
2d7000c8ae
commit
a999a87607
|
@ -615,7 +615,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