mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 14:58:18 +00:00
vim-patch:8.0.1729: no comma after last enum item
Problem: No comma after last enum item.
Solution: Add a few commas to check if this works for all compilers. Also
add a few // comments.
ea3ece405a
This commit is contained in:
@@ -3366,15 +3366,15 @@ static int pattern_match(char_u *pat, char_u *text, int ic)
|
||||
* types for expressions.
|
||||
*/
|
||||
typedef enum {
|
||||
TYPE_UNKNOWN = 0
|
||||
, TYPE_EQUAL /* == */
|
||||
, TYPE_NEQUAL /* != */
|
||||
, TYPE_GREATER /* > */
|
||||
, TYPE_GEQUAL /* >= */
|
||||
, TYPE_SMALLER /* < */
|
||||
, TYPE_SEQUAL /* <= */
|
||||
, TYPE_MATCH /* =~ */
|
||||
, TYPE_NOMATCH /* !~ */
|
||||
TYPE_UNKNOWN = 0,
|
||||
TYPE_EQUAL, // ==
|
||||
TYPE_NEQUAL, // !=
|
||||
TYPE_GREATER, // >
|
||||
TYPE_GEQUAL, // >=
|
||||
TYPE_SMALLER, // <
|
||||
TYPE_SEQUAL, // <=
|
||||
TYPE_MATCH, // =~
|
||||
TYPE_NOMATCH, // !~
|
||||
} exptype_T;
|
||||
|
||||
// TODO(ZyX-I): move to eval/expressions
|
||||
|
@@ -94,7 +94,7 @@ typedef enum
|
||||
{
|
||||
ET_USER, // exception caused by ":throw" command
|
||||
ET_ERROR, // error exception
|
||||
ET_INTERRUPT // interrupt exception triggered by Ctrl-C
|
||||
ET_INTERRUPT, // interrupt exception triggered by Ctrl-C
|
||||
} except_type_T;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user