Better error location in a couple more cases.

This commit is contained in:
Dianne Skoll
2024-06-05 09:15:10 -04:00
parent 7c86bc910a
commit 4bf31005ea

View File

@@ -2503,6 +2503,8 @@ expr_node *parse_expression(char const **e, int *r, Var *locals)
*r == E_PARSE_ERR ||
*r == E_MISS_RIGHT_PAREN ||
*r == E_EXPECTING_EOL ||
*r == E_PARSE_ERR ||
*r == E_EOLN ||
*r == E_ILLEGAL_CHAR) {
orig = o2;
while (*orig) {