mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.3702: first key in dict is seen as curly expression and fails
Problem: First key in dict is seen as curly expression and fails. Solution: Ignore failure of curly expression. (closes #9247)
This commit is contained in:
@@ -1822,7 +1822,8 @@ eval_number(
|
||||
: STR2NR_ALL, &n, NULL, 0, TRUE);
|
||||
if (len == 0)
|
||||
{
|
||||
semsg(_(e_invalid_expression_str), *arg);
|
||||
if (evaluate)
|
||||
semsg(_(e_invalid_expression_str), *arg);
|
||||
return FAIL;
|
||||
}
|
||||
*arg += len;
|
||||
|
Reference in New Issue
Block a user