To: vim_dev@googlegroups.com Subject: Patch 8.2.4207 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4207 (after 8.2.4206) Problem: Recursion test fails with MSVC. Solution: Use a smaller limit for MSVC. Files: src/eval.c *** ../vim-8.2.4206/src/eval.c 2022-01-24 18:16:08.740970105 +0000 --- src/eval.c 2022-01-24 18:33:05.310781849 +0000 *************** *** 3554,3561 **** } // Limit recursion to 1000 levels. At least at 10000 we run out of stack ! // and crash. ! if (recurse == 1000) { semsg(_(e_expression_too_recursive_str), *arg); return FAIL; --- 3554,3567 ---- } // Limit recursion to 1000 levels. At least at 10000 we run out of stack ! // and crash. With MSVC the stack is smaller. ! if (recurse == ! #ifdef _MSC_VER ! 300 ! #else ! 1000 ! #endif ! ) { semsg(_(e_expression_too_recursive_str), *arg); return FAIL; *** ../vim-8.2.4206/src/version.c 2022-01-24 18:16:08.740970105 +0000 --- src/version.c 2022-01-24 18:35:06.032240039 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4207, /**/ -- Citizens are not allowed to attend a movie house or theater nor ride in a public streetcar within at least four hours after eating garlic. [real standing law in Indiana, United States of America] /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///