Mercurial > vim
comparison src/vim9compile.c @ 21584:d0c76ce48326 v8.2.1342
patch 8.2.1342: Vim9: accidentally using "t" gives a confusing error
Commit: https://github.com/vim/vim/commit/f5a48010ef9e47319185f1aaac1bc6d45cd4d47a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 1 17:00:03 2020 +0200
patch 8.2.1342: Vim9: accidentally using "t" gives a confusing error
Problem: Vim9: accidentally using "x" gives a confusing error.
Solution: Disallow using ":t" in Vim9 script. (issue https://github.com/vim/vim/issues/6399)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Aug 2020 17:15:03 +0200 |
parents | 7417cb54cb24 |
children | 7b5b9558500a |
comparison
equal
deleted
inserted
replaced
21583:84990b1adf55 | 21584:d0c76ce48326 |
---|---|
7465 // TODO: other commands with an expression argument | 7465 // TODO: other commands with an expression argument |
7466 | 7466 |
7467 case CMD_append: | 7467 case CMD_append: |
7468 case CMD_change: | 7468 case CMD_change: |
7469 case CMD_insert: | 7469 case CMD_insert: |
7470 case CMD_t: | |
7470 case CMD_xit: | 7471 case CMD_xit: |
7471 not_in_vim9(&ea); | 7472 not_in_vim9(&ea); |
7472 goto erret; | 7473 goto erret; |
7473 | 7474 |
7474 case CMD_SIZE: | 7475 case CMD_SIZE: |