comparison src/structs.h @ 19017:d9ea4f0bfd34 v8.2.0069

patch 8.2.0069: ETYPE_ is used for two different enums Commit: https://github.com/vim/vim/commit/87396072c5c468f0c129e4ec7cd944ac897b7752 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 31 22:36:18 2019 +0100 patch 8.2.0069: ETYPE_ is used for two different enums Problem: ETYPE_ is used for two different enums. Solution: Rename one to use EXPR_.
author Bram Moolenaar <Bram@vim.org>
date Tue, 31 Dec 2019 22:45:03 +0100
parents 847cc7932c42
children ba9f50bfda83
comparison
equal deleted inserted replaced
19016:2c87424f5ea1 19017:d9ea4f0bfd34
3660 /* 3660 /*
3661 * types for expressions. 3661 * types for expressions.
3662 */ 3662 */
3663 typedef enum 3663 typedef enum
3664 { 3664 {
3665 ETYPE_UNKNOWN = 0, 3665 EXPR_UNKNOWN = 0,
3666 ETYPE_EQUAL, // == 3666 EXPR_EQUAL, // ==
3667 ETYPE_NEQUAL, // != 3667 EXPR_NEQUAL, // !=
3668 ETYPE_GREATER, // > 3668 EXPR_GREATER, // >
3669 ETYPE_GEQUAL, // >= 3669 EXPR_GEQUAL, // >=
3670 ETYPE_SMALLER, // < 3670 EXPR_SMALLER, // <
3671 ETYPE_SEQUAL, // <= 3671 EXPR_SEQUAL, // <=
3672 ETYPE_MATCH, // =~ 3672 EXPR_MATCH, // =~
3673 ETYPE_NOMATCH, // !~ 3673 EXPR_NOMATCH, // !~
3674 ETYPE_IS, // is 3674 EXPR_IS, // is
3675 ETYPE_ISNOT, // isnot 3675 EXPR_ISNOT, // isnot
3676 } exptype_T; 3676 } exptype_T;
3677 3677
3678 /* 3678 /*
3679 * Structure used for reading in json_decode(). 3679 * Structure used for reading in json_decode().
3680 */ 3680 */