Mercurial > vim
comparison src/json.c @ 8350:e70fa2e110ec v7.4.1467
commit https://github.com/vim/vim/commit/10b369f67064cee91a5eb41383a694162c5c5e73
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 29 23:12:49 2016 +0100
patch 7.4.1467
Problem: Can't build without the float feature.
Solution: Add #ifdefs. (Nick Owens, closes https://github.com/vim/vim/issues/667)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 29 Feb 2016 23:15:07 +0100 |
parents | c1f29c1a968a |
children | 8c888844de9c |
comparison
equal
deleted
inserted
replaced
8349:adefd953048e | 8350:e70fa2e110ec |
---|---|
731 return OK; | 731 return OK; |
732 | 732 |
733 default: | 733 default: |
734 if (VIM_ISDIGIT(*p) || *p == '-') | 734 if (VIM_ISDIGIT(*p) || *p == '-') |
735 { | 735 { |
736 #ifdef FEAT_FLOAT | |
736 char_u *sp = p; | 737 char_u *sp = p; |
737 | 738 |
738 #ifdef FEAT_FLOAT | |
739 if (*sp == '-') | 739 if (*sp == '-') |
740 { | 740 { |
741 ++sp; | 741 ++sp; |
742 if (*sp == NUL) | 742 if (*sp == NUL) |
743 return MAYBE; | 743 return MAYBE; |