Debugger: Actually handle parseLexedExpression returning false

This commit is contained in:
Vicki Pfau 2024-04-14 04:22:40 -07:00
parent 2d7000c8ae
commit a999a87607
1 changed files with 1 additions and 1 deletions

View File

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