Mercurial > vim
annotate runtime/compiler/icc.vim @ 15079:a527110d5f56 v8.1.0550
patch 8.1.0550: expression evaluation may repeat an error message
commit https://github.com/vim/vim/commit/76a6345433bc2a600689397fb28165a2e5793720
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 28 20:38:37 2018 +0100
patch 8.1.0550: expression evaluation may repeat an error message
Problem: Expression evaluation may repeat an error message. (Jason
Franklin)
Solution: Increment did_emsg and check for the value when giving an error
for the echo command.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 28 Nov 2018 20:45:07 +0100 |
parents | 3fc0f57ecb91 |
children | e1df51f68736 |
rev | line source |
---|---|
7 | 1 " Vim compiler file |
2 " Compiler: icc - Intel C++ | |
3 " Maintainer: Peter Puck <PtrPck@netscape.net> | |
4 " Last Change: 2004 Mar 27 | |
5 | |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 let current_compiler = "icc" | |
10 | |
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
12 command -nargs=* CompilerSet setlocal <args> | |
13 endif | |
14 | |
15 " I think that Intel is calling the compiler icl under Windows | |
16 | |
17 CompilerSet errorformat=%-Z%p^,%f(%l):\ remark\ #%n:%m,%f(%l)\ :\ (col.\ %c)\ remark:\ %m,%E%f(%l):\ error:\ %m,%E%f(%l):\ error:\ #%n:\ %m,%W%f(%l):\ warning\ #%n:\ %m,%W%f(%l):\ warning:\ %m,%-C%.%# | |
18 |