mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.2.1723: Vim9: Variable argument name cannot start with underscore
Problem: Vim9: Variable argument name cannot start with underscore. Solution: Use eval_isnamec1(). (closes #6988)
This commit is contained in:
@@ -211,7 +211,7 @@ get_function_args(
|
||||
if (argtypes != NULL)
|
||||
{
|
||||
// ...name: list<type>
|
||||
if (!ASCII_ISALPHA(*p))
|
||||
if (!eval_isnamec1(*p))
|
||||
{
|
||||
emsg(_(e_missing_name_after_dots));
|
||||
break;
|
||||
|
Reference in New Issue
Block a user