1
0
forked from aniani/vim

patch 7.4.1467

Problem:    Can't build without the float feature.
Solution:   Add #ifdefs. (Nick Owens, closes #667)
This commit is contained in:
Bram Moolenaar
2016-02-29 23:12:49 +01:00
parent 6b584af3d7
commit 10b369f670
3 changed files with 5 additions and 1 deletions

View File

@@ -733,9 +733,9 @@ json_decode_item(js_read_T *reader, typval_T *res, int options)
default:
if (VIM_ISDIGIT(*p) || *p == '-')
{
#ifdef FEAT_FLOAT
char_u *sp = p;
#ifdef FEAT_FLOAT
if (*sp == '-')
{
++sp;