Mercurial > vim
comparison src/json.c @ 10328:299f1669c20e v8.0.0059
commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 4 20:35:31 2016 +0100
patch 8.0.0059
Problem: Vim does not build on VMS systems.
Solution: Various changes for VMS. (Zoltan Arpadffy)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 04 Nov 2016 20:45:04 +0100 |
parents | 7b2f95633e28 |
children | e70ff5756201 |
comparison
equal
deleted
inserted
replaced
10327:7140bc579558 | 10328:299f1669c20e |
---|---|
13 * Follows this standard: https://tools.ietf.org/html/rfc7159.html | 13 * Follows this standard: https://tools.ietf.org/html/rfc7159.html |
14 */ | 14 */ |
15 #define USING_FLOAT_STUFF | 15 #define USING_FLOAT_STUFF |
16 | 16 |
17 #include "vim.h" | 17 #include "vim.h" |
18 | |
19 #ifdef VAX | |
20 # undef FEAT_FLOAT // VAX does not handle well the Infinities | |
21 #endif | |
18 | 22 |
19 #if defined(FEAT_EVAL) || defined(PROTO) | 23 #if defined(FEAT_EVAL) || defined(PROTO) |
20 | 24 |
21 static int json_encode_item(garray_T *gap, typval_T *val, int copyID, int options); | 25 static int json_encode_item(garray_T *gap, typval_T *val, int copyID, int options); |
22 static int json_decode_item(js_read_T *reader, typval_T *res, int options); | 26 static int json_decode_item(js_read_T *reader, typval_T *res, int options); |