Debugger: Actually handle parseLexedExpression returning false

This commit is contained in:
Vicki Pfau 2024-04-14 04:22:40 -07:00
parent 0ca0ea47d4
commit 16a565dc6b
1 changed files with 1 additions and 1 deletions

View File

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