Mercurial > vim
view src/proto/debugger.pro @ 20943:1693ca876049 v8.2.1023
patch 8.2.1023: Vim9: redefining a function uses a new index every time
Commit: https://github.com/vim/vim/commit/0cb5bcf5836de83f7d64fb01d3ce708caacaf66c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 20 18:19:09 2020 +0200
patch 8.2.1023: Vim9: redefining a function uses a new index every time
Problem: Vim9: redefining a function uses a new index every time.
Solution: When redefining a function clear the contents and re-use the
index.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 20 Jun 2020 18:30:04 +0200 |
parents | 1dcbaa780b8e |
children | 154663508d9b |
line wrap: on
line source
/* debugger.c */ int has_watchexpr(void); void do_debug(char_u *cmd); void ex_debug(exarg_T *eap); void dbg_check_breakpoint(exarg_T *eap); int dbg_check_skipped(exarg_T *eap); void ex_breakadd(exarg_T *eap); void ex_debuggreedy(exarg_T *eap); void ex_breakdel(exarg_T *eap); void ex_breaklist(exarg_T *eap); linenr_T dbg_find_breakpoint(int file, char_u *fname, linenr_T after); int has_profiling(int file, char_u *fname, int *fp); void dbg_breakpoint(char_u *name, linenr_T lnum); /* vim: set ft=c : */