Patch 7.4.1242 (after 7.4.1238)
Problem: json_test fails without the eval feature.
Solution: Add #ifdef.
Files: src/json_test.c
*** ../vim-7.4.1241/src/json_test.c 2016-02-02 18:19:52.798743887 +0100
--- src/json_test.c 2016-02-02 19:07:24.345210458 +0100
***************
*** 21,26 ****
--- 21,27 ----
/* This file has to be included because the tested functions are static */
#include "json.c"
+ #if defined(FEAT_EVAL)
/*
* Test json_find_end() with imcomplete items.
*/
***************
*** 182,193 ****
--- 183,197 ----
reader.js_cookie = " \"foobar\" ";
assert(json_decode_string(&reader, NULL) == OK);
}
+ #endif
int
main(void)
{
+ #if defined(FEAT_EVAL)
test_decode_find_end();
test_fill_called_on_find_end();
test_fill_called_on_string();
+ #endif
return 0;
}
*** ../vim-7.4.1241/src/version.c 2016-02-02 19:01:26.644921279 +0100
--- src/version.c 2016-02-02 19:15:25.116212301 +0100
***************
*** 744,745 ****
--- 744,747 ----
{ /* Add new patch number below this line */
+ /**/
+ 1242,
/**/
--
hundred-and-one symptoms of being an internet addict:
110. You actually volunteer to become your employer's webmaster.
/// 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.