mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.1.0989: Vim9: Whitespace after the final enum value causes a syntax error
Problem: Vim9: Whitespace after the final enum value causes a syntax error Solution: Fix parsing to allow whitespace after the final enum value. (Doug Kearns) closes: #16383 Signed-off-by: Doug Kearns <dougkearns@gmail.com> 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
cd96075cde
commit
dbe39edb29
@@ -1623,6 +1623,8 @@ enum_parse_values(
|
||||
}
|
||||
}
|
||||
|
||||
p = skipwhite(p);
|
||||
|
||||
if (*p != NUL && *p != '#')
|
||||
{
|
||||
if (did_emsg == did_emsg_before)
|
||||
|
Reference in New Issue
Block a user