Mercurial > vim
view runtime/syntax/bash.vim @ 27163:0f11969a4d0f v8.2.4110
patch 8.2.4110: Coverity warns for using NULL pointer
Commit: https://github.com/vim/vim/commit/8f9956994d5c75ed88d6b2881b6ac0bb62a0d6af
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 16 14:51:30 2022 +0000
patch 8.2.4110: Coverity warns for using NULL pointer
Problem: Coverity warns for using NULL pointer.
Solution: Check "evalarg" is not NULL. Skip errors when "verbose" is false.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Jan 2022 16:00:07 +0100 |
parents | 03b854983b14 |
children | 71cbad0921c9 |
line wrap: on
line source
" Vim syntax file " Language: bash " Maintainer: Bram " Last Change: 2019 Sep 27 " quit when a syntax file was already loaded if exists("b:current_syntax") finish endif " The actual syntax is in sh.vim and controlled by buffer-local variables. unlet! b:is_sh unlet! b:is_kornshell let b:is_bash = 1 runtime! syntax/sh.vim let b:current_syntax = 'bash' " vim: ts=8