view runtime/compiler/xbuild.vim @ 19785:99248f0ff29d v8.2.0449

patch 8.2.0449: Vim9: crash if return type is invalid Commit: https://github.com/vim/vim/commit/cf3f8bf4ddfbc0f5ce53f0c9270dc15567f4feea Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 26 13:15:42 2020 +0100 patch 8.2.0449: Vim9: crash if return type is invalid Problem: Vim9: crash if return type is invalid. (Yegappan Lakshmanan) Solution: Always return some type, not NULL.
author Bram Moolenaar <Bram@vim.org>
date Thu, 26 Mar 2020 13:30:04 +0100
parents eb6ab7e78925
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	Mono C#
" Maintainer:	Chiel ten Brinke (ctje92@gmail.com)
" Last Change:	2013 May 13

if exists("current_compiler")
  finish
endif

let current_compiler = "xbuild"
let s:keepcpo= &cpo
set cpo&vim

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

CompilerSet errorformat=\ %#%f(%l\\\,%c):\ %m
CompilerSet makeprg=xbuild\ /nologo\ /v:q\ /property:GenerateFullPaths=true

let &cpo = s:keepcpo
unlet s:keepcpo