summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-03-07 23:26:06 +0000
committerBram Moolenaar <Bram@vim.org>2005-03-07 23:26:06 +0000
commite2ac10d732fae811411129ff5f101fab72ac1248 (patch)
treec7f76f50745760ca7add7c0960c1fb94c565202c /src/ex_cmds.c
parent4d34b432dbff61a435816d74ef6b08a1b50d3f8d (diff)
downloadvim-git-e2ac10d732fae811411129ff5f101fab72ac1248.tar.gz
updated for version 7.0057v7.0057
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 0a6488061..2e58851d5 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -4663,28 +4663,6 @@ ex_global(eap)
return;
}
-#if 0
-#ifdef HAVE_SETJMP_H
- /*
- * Matching with a regexp may cause a very deep recursive call of
- * regmatch(). Vim will crash when running out of stack space.
- * Catch this here if the system supports it.
- * It's a bit slow, thus do it outside of the loop.
- */
- mch_startjmp();
- if (SETJMP(lc_jump_env) != 0)
- {
- mch_didjmp();
-# ifdef SIGHASARG
- if (lc_signal != SIGINT)
-# endif
- EMSG(_(e_complex));
- got_int = TRUE;
- goto jumpend;
- }
-#endif
-#endif
-
/*
* pass 1: set marks for each (not) matching line
*/
@@ -4700,13 +4678,6 @@ ex_global(eap)
line_breakcheck();
}
-#if 0
-#ifdef HAVE_SETJMP_H
-jumpend:
- mch_endjmp();
-#endif
-#endif
-
/*
* pass 2: execute the command for each line that has been marked
*/