diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-25 00:05:32 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-25 00:05:32 +0100 |
commit | 67a2deb9cb4ac2224cb1e4d240a5d0659f036264 (patch) | |
tree | 024c2f55f38fb92a7da3c6887dbd0c510c7ae6cb /src/ex_eval.c | |
parent | a106e6cde682bda4ad10ed745acb51975fcb02e0 (diff) | |
download | vim-git-67a2deb9cb4ac2224cb1e4d240a5d0659f036264.tar.gz |
patch 8.1.2341: not so easy to interrupt a script programaticallyv8.1.2341
Problem: Not so easy to interrupt a script programatically.
Solution: Add the interrupt() function. (Yasuhiro Matsumoto, closes #2834)
Diffstat (limited to 'src/ex_eval.c')
-rw-r--r-- | src/ex_eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ex_eval.c b/src/ex_eval.c index f1a8b97fc..097280a67 100644 --- a/src/ex_eval.c +++ b/src/ex_eval.c @@ -85,6 +85,7 @@ static int cause_abort = FALSE; * until the throw point for error messages has been reached. That is, during * cancellation of an expression evaluation after an aborting function call or * due to a parsing error, aborting() always returns the same value. + * "got_int" is also set by calling interrupt(). */ int aborting(void) |