Mercurial > vim
view runtime/compiler/rst.vim @ 10245:d76ccdacb41e v8.0.0020
commit https://github.com/vim/vim/commit/6100d02aab7c8294b581cb299250eea164b50e9d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 2 16:51:57 2016 +0200
patch 8.0.0020
Problem: The regexp engines are not reentrant.
Solution: Add regexec_T and save/restore the state when needed.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 02 Oct 2016 17:00:05 +0200 |
parents | 91e53bcb7946 |
children | 1218c5353e2b |
line wrap: on
line source
" Vim compiler file " Compiler: reStructuredText Documentation Format " Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2006-04-19 if exists("current_compiler") finish endif let current_compiler = "rst" let s:cpo_save = &cpo set cpo&vim setlocal errorformat= \%f:%l:\ (%tEBUG/0)\ %m, \%f:%l:\ (%tNFO/1)\ %m, \%f:%l:\ (%tARNING/2)\ %m, \%f:%l:\ (%tRROR/3)\ %m, \%f:%l:\ (%tEVERE/3)\ %m, \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f', \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f', \%DMaking\ %*\\a\ in\ %f let &cpo = s:cpo_save unlet s:cpo_save