mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.3657: Vim9: debug text misses one line of return statement
Problem: Vim9: debug text misses one line of return statement. Solution: Add a line when not at a debug instruction. (closes #9137)
This commit is contained in:
@@ -1602,7 +1602,7 @@ handle_debug(isn_T *iptr, ectx_T *ectx)
|
||||
|| ni->isn_type == ISN_RETURN
|
||||
|| ni->isn_type == ISN_RETURN_VOID)
|
||||
{
|
||||
end_lnum = ni->isn_lnum;
|
||||
end_lnum = ni->isn_lnum + (ni->isn_type == ISN_DEBUG ? 0 : 1);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user