Mercurial > vim
view runtime/compiler/xmllint.vim @ 25889:c83ebae45881 v8.2.3478
patch 8.2.3478: still crash with error in :catch and also in :finally
Commit: https://github.com/vim/vim/commit/f67d3fb7363ebc9454f9bb582de3978609a4fd6b
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Oct 5 11:22:27 2021 +0100
patch 8.2.3478: still crash with error in :catch and also in :finally
Problem: Still crash with error in :catch and also in :finally.
Solution: Only call finish_exception() once. (closes https://github.com/vim/vim/issues/8954)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 05 Oct 2021 12:30:04 +0200 |
parents | d4c7b3e9cd17 |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: Libxml2 Command-Line Tool " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2020 Jul 30 if exists("current_compiler") finish endif let current_compiler = "xmllint" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo&vim CompilerSet makeprg=xmllint\ --valid\ --noout CompilerSet errorformat=%E%f:%l:\ %.%#\ error\ :\ %m, \%W%f:%l:\ %.%#\ warning\ :\ %m, \%-Z%p^, \%C%.%#, \%terror:\ %m, \%tarning:\ %m, \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save