view runtime/compiler/bdf.vim @ 18243:463da8586749 v8.1.2116

patch 8.1.2116: no check for out of memory Commit: https://github.com/vim/vim/commit/1671de3098b7ab663398dd694b314e7f67a93411 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 5 21:35:16 2019 +0200 patch 8.1.2116: no check for out of memory Problem: No check for out of memory. Solution: Check for NULL pointer.
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Oct 2019 21:45:04 +0200
parents 1218c5353e2b
children 2c3f939d46bf
line wrap: on
line source

" Vim compiler file
" Compiler:             BDF to PCF Conversion
" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
" Latest Revision:      2006-04-19

if exists("current_compiler")
  finish
endif
let current_compiler = "bdf"

let s:cpo_save = &cpo
set cpo-=C

setlocal makeprg=bdftopcf\ $*

setlocal errorformat=%ABDF\ %trror\ on\ line\ %l:\ %m,
      \%-Z%p^,
      \%Cbdftopcf:\ bdf\ input\\,\ %f\\,\ corrupt,
      \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save