commit | 33fa29cf74ea314f89cfa58ec9ffc2d6781a59d4 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Mar 28 19:41:33 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Mar 28 19:41:33 2020 +0100 |
tree | d0efad2d8d614a0e63505c62a3b18e5b91f5589d | |
parent | 09c569038c42dcbdaa5c9b35fc9d1afbe5072cb4 [diff] [blame] |
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.
diff --git a/src/scriptfile.c b/src/scriptfile.c index 55b1ddd..a7af4e9 100644 --- a/src/scriptfile.c +++ b/src/scriptfile.c
@@ -1274,6 +1274,7 @@ // loading the same script again si->sn_had_command = FALSE; + si->sn_version = 1; current_sctx.sc_sid = sid; ht = &SCRIPT_VARS(sid);