Mercurial > vim
comparison src/testdir/test_vim9_disassemble.vim @ 22703:f2bfee4ac356 v8.2.1900
patch 8.2.1900: Vim9: command modifiers do not work
Commit: https://github.com/vim/vim/commit/02194d2bd54eacd0b7b9a017a3fe1702ecb80971
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 24 23:08:38 2020 +0200
patch 8.2.1900: Vim9: command modifiers do not work
Problem: Vim9: command modifiers do not work.
Solution: Make most command modifiers work.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 24 Oct 2020 23:15:04 +0200 |
parents | dda110a14be4 |
children | 8a5369f5f2b4 |
comparison
equal
deleted
inserted
replaced
22702:81d7d3860786 | 22703:f2bfee4ac356 |
---|---|
1625 | 1625 |
1626 def Test_silent() | 1626 def Test_silent() |
1627 var res = execute('disass s:SilentMessage') | 1627 var res = execute('disass s:SilentMessage') |
1628 assert_match('<SNR>\d*_SilentMessage\_s*' .. | 1628 assert_match('<SNR>\d*_SilentMessage\_s*' .. |
1629 'silent echomsg "text"\_s*' .. | 1629 'silent echomsg "text"\_s*' .. |
1630 '\d SILENT\_s*' .. | 1630 '\d CMDMOD silent\_s*' .. |
1631 '\d PUSHS "text"\_s*' .. | 1631 '\d PUSHS "text"\_s*' .. |
1632 '\d ECHOMSG 1\_s*' .. | 1632 '\d ECHOMSG 1\_s*' .. |
1633 '\d UNSILENT\_s*' .. | 1633 '\d CMDMOD_REV\_s*' .. |
1634 'silent! echoerr "error"\_s*' .. | 1634 'silent! echoerr "error"\_s*' .. |
1635 '\d SILENT!\_s*' .. | 1635 '\d CMDMOD silent!\_s*' .. |
1636 '\d PUSHS "error"\_s*' .. | 1636 '\d PUSHS "error"\_s*' .. |
1637 '\d ECHOERR 1\_s*' .. | 1637 '\d ECHOERR 1\_s*' .. |
1638 '\d UNSILENT!\_s*' .. | 1638 '\d CMDMOD_REV\_s*' .. |
1639 '\d PUSHNR 0\_s*' .. | 1639 '\d PUSHNR 0\_s*' .. |
1640 '\d RETURN', | 1640 '\d RETURN', |
1641 res) | 1641 res) |
1642 enddef | 1642 enddef |
1643 | 1643 |