Patch 8.0.1729
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.
Files: src/structs.h
*** ../vim-8.0.1728/src/structs.h 2018-04-16 14:45:41.020162889 +0200
--- src/structs.h 2018-04-17 20:08:31.073832385 +0200
***************
*** 827,835 ****
*/
typedef enum
{
! ET_USER, /* exception caused by ":throw" command */
! ET_ERROR, /* error exception */
! ET_INTERRUPT /* interrupt exception triggered by Ctrl-C */
} except_type_T;
/*
--- 827,835 ----
*/
typedef enum
{
! ET_USER, // exception caused by ":throw" command
! ET_ERROR, // error exception
! ET_INTERRUPT, // interrupt exception triggered by Ctrl-C
} except_type_T;
/*
***************
*** 1190,1205 ****
typedef enum
{
VAR_UNKNOWN = 0,
! VAR_NUMBER, /* "v_number" is used */
! VAR_STRING, /* "v_string" is used */
! VAR_FUNC, /* "v_string" is function name */
! VAR_PARTIAL, /* "v_partial" is used */
! VAR_LIST, /* "v_list" is used */
! VAR_DICT, /* "v_dict" is used */
! VAR_FLOAT, /* "v_float" is used */
! VAR_SPECIAL, /* "v_number" is used */
! VAR_JOB, /* "v_job" is used */
! VAR_CHANNEL /* "v_channel" is used */
} vartype_T;
/*
--- 1190,1205 ----
typedef enum
{
VAR_UNKNOWN = 0,
! VAR_NUMBER, // "v_number" is used
! VAR_STRING, // "v_string" is used
! VAR_FUNC, // "v_string" is function name
! VAR_PARTIAL, // "v_partial" is used
! VAR_LIST, // "v_list" is used
! VAR_DICT, // "v_dict" is used
! VAR_FLOAT, // "v_float" is used
! VAR_SPECIAL, // "v_number" is used
! VAR_JOB, // "v_job" is used
! VAR_CHANNEL, // "v_channel" is used
} vartype_T;
/*
***************
*** 1456,1463 ****
{
JOB_FAILED,
JOB_STARTED,
! JOB_ENDED, /* detected job done */
! JOB_FINISHED /* job done and cleanup done */
} jobstatus_T;
/*
--- 1456,1463 ----
{
JOB_FAILED,
JOB_STARTED,
! JOB_ENDED, // detected job done
! JOB_FINISHED, // job done and cleanup done
} jobstatus_T;
/*
***************
*** 1531,1541 ****
MODE_NL = 0,
MODE_RAW,
MODE_JSON,
! MODE_JS
} ch_mode_T;
typedef enum {
! JIO_PIPE, /* default */
JIO_NULL,
JIO_FILE,
JIO_BUFFER,
--- 1531,1541 ----
MODE_NL = 0,
MODE_RAW,
MODE_JSON,
! MODE_JS,
} ch_mode_T;
typedef enum {
! JIO_PIPE, // default
JIO_NULL,
JIO_FILE,
JIO_BUFFER,
***************
*** 1557,1563 ****
PART_IN,
# define CH_IN_FD CH_PART_FD(PART_IN)
#endif
! PART_COUNT
} ch_part_T;
#define INVALID_FD (-1)
--- 1557,1563 ----
PART_IN,
# define CH_IN_FD CH_PART_FD(PART_IN)
#endif
! PART_COUNT,
} ch_part_T;
#define INVALID_FD (-1)
***************
*** 3252,3266 ****
*/
typedef enum
{
! TYPE_UNKNOWN = 0
! , TYPE_EQUAL /* == */
! , TYPE_NEQUAL /* != */
! , TYPE_GREATER /* > */
! , TYPE_GEQUAL /* >= */
! , TYPE_SMALLER /* < */
! , TYPE_SEQUAL /* <= */
! , TYPE_MATCH /* =~ */
! , TYPE_NOMATCH /* !~ */
} exptype_T;
/*
--- 3252,3266 ----
*/
typedef enum
{
! TYPE_UNKNOWN = 0,
! TYPE_EQUAL, // ==
! TYPE_NEQUAL, // !=
! TYPE_GREATER, // >
! TYPE_GEQUAL, // >=
! TYPE_SMALLER, // <
! TYPE_SEQUAL, // <=
! TYPE_MATCH, // =~
! TYPE_NOMATCH, // !~
} exptype_T;
/*
*** ../vim-8.0.1728/src/version.c 2018-04-17 20:12:04.544244252 +0200
--- src/version.c 2018-04-17 20:14:10.483324770 +0200
***************
*** 764,765 ****
--- 764,767 ----
{ /* Add new patch number below this line */
+ /**/
+ 1729,
/**/
--
hundred-and-one symptoms of being an internet addict:
205. You're constantly yelling at your spouse, family, roommate, whatever,
for using the phone for stupid things...like talking.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.