view runtime/compiler/modelsim_vcom.vim @ 13276:6958e700a458 v8.0.1512

patch 8.0.1512: warning for possibly using NULL pointer commit https://github.com/vim/vim/commit/e4db7aedab65abadcc84c78e7a10ec7bb62f11cf Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 13 13:12:11 2018 +0100 patch 8.0.1512: warning for possibly using NULL pointer Problem: Warning for possibly using NULL pointer. (Coverity) Solution: Skip using the pointer if it's NULL.
author Christian Brabandt <cb@256bit.org>
date Tue, 13 Feb 2018 13:15:06 +0100
parents 3fc0f57ecb91
children 2c3f939d46bf
line wrap: on
line source

" Vim Compiler File
" Compiler:	Modelsim Vcom
" Maintainer:	Paul Baleme <pbaleme@mail.com>
" Last Change:	September 8, 2003
" Thanks to:    allanherriman@hotmail.com

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

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

"setlocal errorformat=\*\*\ %tRROR:\ %f(%l):\ %m,%tRROR:\ %f(%l):\ %m,%tARNING\[%*[0-9]\]:\ %f(%l):\ %m,\*\*\ %tRROR:\ %m,%tRROR:\ %m,%tARNING\[%*[0-9]\]:\ %m

"setlocal errorformat=%tRROR:\ %f(%l):\ %m,%tARNING\[%*[0-9]\]:\ %m
CompilerSet errorformat=\*\*\ %tRROR:\ %f(%l):\ %m,\*\*\ %tRROR:\ %m,\*\*\ %tARNING:\ %m,\*\*\ %tOTE:\ %m,%tRROR:\ %f(%l):\ %m,%tARNING\[%*[0-9]\]:\ %f(%l):\ %m,%tRROR:\ %m,%tARNING\[%*[0-9]\]:\ %m