Patch 7.4.1427

24 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 27, 2016, 9:21:54 AM2/27/16
to vim...@googlegroups.com

Patch 7.4.1427
Problem: Trailing comma in enums is not ANSI C.
Solution: Remove the trailing commas.
Files: src/alloc.h, src/gui_mac.c


*** ../vim-7.4.1426/src/alloc.h 2016-01-15 20:48:09.866003187 +0100
--- src/alloc.h 2016-02-27 15:13:43.809241724 +0100
***************
*** 17,21 ****
aid_qf_namebuf,
aid_qf_errmsg,
aid_qf_pattern,
! aid_last,
} alloc_id_T;
--- 17,21 ----
aid_qf_namebuf,
aid_qf_errmsg,
aid_qf_pattern,
! aid_last
} alloc_id_T;
*** ../vim-7.4.1426/src/gui_mac.c 2016-01-30 16:39:20.438376481 +0100
--- src/gui_mac.c 2016-02-27 15:16:57.211219404 +0100
***************
*** 6513,6519 ****
static MenuRef contextMenu = NULL;
enum
{
! kTabContextMenuId = 42,
};

// the caller has to CFRelease() the returned string
--- 6513,6519 ----
static MenuRef contextMenu = NULL;
enum
{
! kTabContextMenuId = 42
};

// the caller has to CFRelease() the returned string
*** ../vim-7.4.1426/src/version.c 2016-02-27 14:44:21.335585337 +0100
--- src/version.c 2016-02-27 15:12:18.802128528 +0100
***************
*** 750,751 ****
--- 750,753 ----
{ /* Add new patch number below this line */
+ /**/
+ 1427,
/**/

--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)

/// Bram Moolenaar -- Br...@Moolenaar.net -- 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 ///
Reply all
Reply to author
Forward
0 new messages