commit | 10b369f67064cee91a5eb41383a694162c5c5e73 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Feb 29 23:12:49 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Feb 29 23:12:49 2016 +0100 |
tree | 10b15eff2f8441cc1358a61e301c27de05c55693 | |
parent | 6b584af3d7337639da27fd847c7c69a406af397e [diff] [blame] |
patch 7.4.1467 Problem: Can't build without the float feature. Solution: Add #ifdefs. (Nick Owens, closes #667)
diff --git a/src/json.c b/src/json.c index cf887e5..b41d45e 100644 --- a/src/json.c +++ b/src/json.c
@@ -733,9 +733,9 @@ default: if (VIM_ISDIGIT(*p) || *p == '-') { +#ifdef FEAT_FLOAT char_u *sp = p; -#ifdef FEAT_FLOAT if (*sp == '-') { ++sp;