mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 22:38:16 +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
|
||||
|
Reference in New Issue
Block a user