Better error message.
All checks were successful
Remind unit tests / tests (push) Successful in 28s

This commit is contained in:
Dianne Skoll
2024-09-09 17:01:56 -04:00
parent b7fc2b5776
commit 152cd4090b

View File

@@ -1556,7 +1556,7 @@ static int parse_expr_token_aux(DynamicBuffer *buf, char const **in)
}
(*in)++;
} else {
Eprint("%s `%c'", ErrMsg[E_PARSE_ERR], c);
Eprint("%s `%c' (did you mean `%c%c'?)", ErrMsg[E_PARSE_ERR], c, c, c);
return E_PARSE_ERR;
}
return OK;