1
0
forked from aniani/vim
Files
vim/runtime
LemonBoy 749ba0f6d9 patch 9.1.0529: silent! causes following try/catch to not work
Problem:  silent! causes following try/catch to not work
          (Malcolm Rowe)
Solution: consider emsg_silent in handle_did_throw() and do not abort
          evaluation flow for :silent! (LemonBoy)

The silent! flag causes the evaluation not to be aborted in case of
uncaught exceptions, adjust handle_did_throw to take this detail into
account.

Fixes the long-standing todo.txt item:
```
Problem that a previous silent ":throw" causes a following try/catch not
to work. (ZyX, 2013 Sep 28) With examples: (Malcolm Rowe, 2015 Dec 24)
Also see #8487 for an example.
```

fixes: #538
closes: #15128

Signed-off-by: LemonBoy <thatlemon@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-07-04 19:23:16 +02:00
..
2024-05-02 22:17:05 +02:00
2022-07-01 18:45:04 +01:00
2022-06-25 18:01:32 +01:00
2006-05-03 21:26:49 +00:00
2022-06-25 18:01:32 +01:00
2004-06-13 14:44:53 +00:00
2013-11-03 21:14:31 +01:00
2004-06-13 20:20:40 +00:00