# HG changeset patch # User Christian Brabandt # Date 1456583404 -3600 # Node ID 553a4c8dd7961f5b01e53af4785c40fd893db6c6 # Parent b9abd9942ec24c60c5ba7ec168f333ed04932204 commit https://github.com/vim/vim/commit/43acbce1bb0a33edc67496b220cae629ad95d2d8 Author: Bram Moolenaar Date: Sat Feb 27 15:21:32 2016 +0100 patch 7.4.1427 Problem: Trailing comma in enums is not ANSI C. Solution: Remove the trailing commas. diff --git a/src/alloc.h b/src/alloc.h --- a/src/alloc.h +++ b/src/alloc.h @@ -17,5 +17,5 @@ typedef enum { aid_qf_namebuf, aid_qf_errmsg, aid_qf_pattern, - aid_last, + aid_last } alloc_id_T; diff --git a/src/gui_mac.c b/src/gui_mac.c --- a/src/gui_mac.c +++ b/src/gui_mac.c @@ -6513,7 +6513,7 @@ im_get_status(void) static MenuRef contextMenu = NULL; enum { - kTabContextMenuId = 42, + kTabContextMenuId = 42 }; // the caller has to CFRelease() the returned string diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -749,6 +749,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1427, +/**/ 1426, /**/ 1425,