Mercurial > vim
comparison src/scriptfile.c @ 19822:fc3cdc819d80 v8.2.0467
patch 8.2.0467: Vim9: some errors are not tested
Commit: https://github.com/vim/vim/commit/33fa29cf74ea314f89cfa58ec9ffc2d6781a59d4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 28 19:41:33 2020 +0100
patch 8.2.0467: Vim9: some errors are not tested
Problem: Vim9: some errors are not tested
Solution: Add more tests. Fix that Vim9 script flag is not reset.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 28 Mar 2020 19:45:04 +0100 |
parents | ad37a198a708 |
children | d13f8ae3b1de |
comparison
equal
deleted
inserted
replaced
19821:54157d9d75c7 | 19822:fc3cdc819d80 |
---|---|
1272 dictitem_T *di; | 1272 dictitem_T *di; |
1273 int todo; | 1273 int todo; |
1274 | 1274 |
1275 // loading the same script again | 1275 // loading the same script again |
1276 si->sn_had_command = FALSE; | 1276 si->sn_had_command = FALSE; |
1277 si->sn_version = 1; | |
1277 current_sctx.sc_sid = sid; | 1278 current_sctx.sc_sid = sid; |
1278 | 1279 |
1279 ht = &SCRIPT_VARS(sid); | 1280 ht = &SCRIPT_VARS(sid); |
1280 todo = (int)ht->ht_used; | 1281 todo = (int)ht->ht_used; |
1281 for (hi = ht->ht_array; todo > 0; ++hi) | 1282 for (hi = ht->ht_array; todo > 0; ++hi) |