comparison src/evalvars.c @ 19229:d776967d0f0d v8.2.0173

patch 8.2.0173: build fails with old compiler Commit: https://github.com/vim/vim/commit/0ff6aad393c4130818fb4f49137380f78d7cc882 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 29 21:27:21 2020 +0100 patch 8.2.0173: build fails with old compiler Problem: Build fails with old compiler. Solution: Do not use anonymous unions. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Wed, 29 Jan 2020 21:30:05 +0100
parents e7b4fff348dd
children 9dc843109c97
comparison
equal deleted inserted replaced
19228:6db2a20db2c3 19229:d776967d0f0d
2126 l->lv_lock = VAR_FIXED; 2126 l->lv_lock = VAR_FIXED;
2127 for (i = 0; i < argc; ++i) 2127 for (i = 0; i < argc; ++i)
2128 { 2128 {
2129 if (list_append_string(l, (char_u *)argv[i], -1) == FAIL) 2129 if (list_append_string(l, (char_u *)argv[i], -1) == FAIL)
2130 getout(1); 2130 getout(1);
2131 l->lv_last->li_tv.v_lock = VAR_FIXED; 2131 l->lv_u.mat.lv_last->li_tv.v_lock = VAR_FIXED;
2132 } 2132 }
2133 set_vim_var_list(VV_ARGV, l); 2133 set_vim_var_list(VV_ARGV, l);
2134 } 2134 }
2135 2135
2136 /* 2136 /*