comparison src/vim9script.c @ 19193:9f98957582d6 v8.2.0155

patch 8.2.0155: warnings from MinGW compiler; tests fail without +float Commit: https://github.com/vim/vim/commit/a5d5953d59730d9bf9c00a727c4aeb56f6ffc944 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 26 21:42:03 2020 +0100 patch 8.2.0155: warnings from MinGW compiler; tests fail without +float Problem: Warnings from MinGW compiler. (John Marriott) Json test fails when building without +float feature. Solution: Init variables. Fix Json parsing. Skip a few tests that require the +float feature.
author Bram Moolenaar <Bram@vim.org>
date Sun, 26 Jan 2020 21:45:03 +0100
parents 133ef7ba4e4e
children 9b97da610cab
comparison
equal deleted inserted replaced
19192:68049eeb2e00 19193:9f98957582d6
321 { 321 {
322 semsg(_("E1049: Item not exported in script: %s"), name); 322 semsg(_("E1049: Item not exported in script: %s"), name);
323 *arg = cc; 323 *arg = cc;
324 return NULL; 324 return NULL;
325 } 325 }
326 ufunc = NULL;
326 } 327 }
327 else 328 else
328 { 329 {
329 char_u buffer[200]; 330 char_u buffer[200];
330 char_u *funcname; 331 char_u *funcname;
353 { 354 {
354 semsg(_("E1048: Item not found in script: %s"), name); 355 semsg(_("E1048: Item not found in script: %s"), name);
355 *arg = cc; 356 *arg = cc;
356 return NULL; 357 return NULL;
357 } 358 }
359 sv = NULL;
358 } 360 }
359 361
360 imported = new_imported(gap != NULL ? gap 362 imported = new_imported(gap != NULL ? gap
361 : &SCRIPT_ITEM(import_sid)->sn_imports); 363 : &SCRIPT_ITEM(import_sid)->sn_imports);
362 if (imported == NULL) 364 if (imported == NULL)