mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.4542: Vim9: "break" inside try/catch not handled correctly
Problem: Vim9: "break" inside try/catch not handled correctly. Solution: First jump to :endtry. (closes #9927)
This commit is contained in:
@@ -121,7 +121,7 @@ typedef enum {
|
||||
ISN_CATCH, // drop v:exception
|
||||
ISN_FINALLY, // start of :finally block
|
||||
ISN_ENDTRY, // take entry off from ec_trystack
|
||||
ISN_TRYCONT, // handle :continue inside a :try statement
|
||||
ISN_TRYCONT, // handle :continue or :break inside a :try statement
|
||||
|
||||
// more expression operations
|
||||
ISN_ADDLIST, // add two lists
|
||||
|
Reference in New Issue
Block a user