patch 9.1.0376: Vim9: Trailing commands after class/enum keywords ignored
Problem: Vim9: Trailing commands after class/enum keywords ignored
Solution: Remove EX_TRLBAR keyword from command definition
(Yegappan Lakshmanan)
closes: #14649
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
340643e977
commit
ac7731895c
@ -136,6 +136,13 @@ parse_member(
|
||||
fill_evalarg_from_eap(&evalarg, eap, FALSE);
|
||||
(void)skip_expr_concatenate(&init_arg, &expr_start, &expr_end, &evalarg);
|
||||
|
||||
init_arg = skipwhite(init_arg);
|
||||
if (*init_arg != NUL)
|
||||
{
|
||||
semsg(_(e_trailing_characters_str), init_arg);
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
// No type specified for the member. Set it to "any" and the correct
|
||||
// type will be set when the object is instantiated.
|
||||
if (type == NULL)
|
||||
|
||||
Reference in New Issue
Block a user