Mercurial > vim
annotate runtime/compiler/bdf.vim @ 19736:4174c4da6ff7 v8.2.0424
patch 8.2.0424: checking for wrong return value
Commit: https://github.com/vim/vim/commit/97acfc781bdb7fa2838dc6e0e7f9952ea61bb2fd
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 22 13:44:28 2020 +0100
patch 8.2.0424: checking for wrong return value
Problem: Checking for wrong return value. (Tom)
Solution: Invert the check and fix the test.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 22 Mar 2020 13:45:08 +0100 |
parents | 1218c5353e2b |
children | 2c3f939d46bf |
rev | line source |
---|---|
7 | 1 " Vim compiler file |
11062 | 2 " Compiler: BDF to PCF Conversion |
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> | |
4 " Latest Revision: 2006-04-19 | |
7 | 5 |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 let current_compiler = "bdf" | |
10 | |
11 let s:cpo_save = &cpo | |
12 set cpo-=C | |
13 | |
839 | 14 setlocal makeprg=bdftopcf\ $* |
7 | 15 |
839 | 16 setlocal errorformat=%ABDF\ %trror\ on\ line\ %l:\ %m, |
7 | 17 \%-Z%p^, |
18 \%Cbdftopcf:\ bdf\ input\\,\ %f\\,\ corrupt, | |
19 \%-G%.%# | |
20 | |
21 let &cpo = s:cpo_save | |
22 unlet s:cpo_save |