Fix error output

This commit is contained in:
Dianne Skoll
2025-10-30 18:00:34 -04:00
parent 4158ad5977
commit 7a319466cf
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -2759,6 +2759,7 @@ expr_node *parse_expression(char const **e, int *r, Var *locals)
print_expr_tree(node, ErrFp);
fprintf(ErrFp, "\n");
}
orig = o2;
}
if (**e && (**e != ']')) {
if (DebugFlag & DB_PARSE_EXPR) {