diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-11-19 16:38:07 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-11-19 16:38:07 +0100 |
commit | dffa5b8ecfa2091495b77ab487c07792646d0633 (patch) | |
tree | 9f9ccaac14e2fffceec8ee02ac7e6590de1c226b /src/proto/regexp.pro | |
parent | df46f6f07f90c0014352ff05aecb8caf61e7cfa0 (diff) | |
download | vim-git-dffa5b8ecfa2091495b77ab487c07792646d0633.tar.gz |
updated for version 7.4.519v7.4.519
Problem: Crash when using syntax highlighting.
Solution: When regprog is freed and replaced, store the result.
Diffstat (limited to 'src/proto/regexp.pro')
-rw-r--r-- | src/proto/regexp.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/regexp.pro b/src/proto/regexp.pro index a42c5944a..099121eae 100644 --- a/src/proto/regexp.pro +++ b/src/proto/regexp.pro @@ -13,6 +13,7 @@ char_u *reg_submatch __ARGS((int no)); list_T *reg_submatch_list __ARGS((int no)); regprog_T *vim_regcomp __ARGS((char_u *expr_arg, int re_flags)); void vim_regfree __ARGS((regprog_T *prog)); +int vim_regexec_prog __ARGS((regprog_T **prog, int ignore_case, char_u *line, colnr_T col)); int vim_regexec __ARGS((regmatch_T *rmp, char_u *line, colnr_T col)); int vim_regexec_nl __ARGS((regmatch_T *rmp, char_u *line, colnr_T col)); long vim_regexec_multi __ARGS((regmmatch_T *rmp, win_T *win, buf_T *buf, linenr_T lnum, colnr_T col, proftime_T *tm)); |