view runtime/tools/mve.awk @ 31716:9dd5bc4f2783 v9.0.1190

patch 9.0.1190: AppVeyor runs much slower with MSVC 2022 Commit: https://github.com/vim/vim/commit/60908c492237edcfe6cde995171240c9bace05b6 Author: Christopher Plewright <chris@createng.com> Date: Fri Jan 13 15:28:14 2023 +0000 patch 9.0.1190: AppVeyor runs much slower with MSVC 2022 Problem: AppVeyor runs much slower with MSVC 2022. Solution: Go back to MSVC 2015. (Christopher Plewright, closes https://github.com/vim/vim/issues/11810)
author Bram Moolenaar <Bram@vim.org>
date Fri, 13 Jan 2023 16:30:03 +0100
parents 3fc0f57ecb91
children
line wrap: on
line source

#!/usr/bin/nawk -f
#
# Change "nawk" to "awk" or "gawk" if you get errors.
#
# Make Vim Errors
# Processes errors from cc for use by Vim's quick fix tools
# specifically it translates the ---------^ notation to a
# column number
#
BEGIN { FS="[:,]" }

/^cfe/ { file=$3
	 msg=$5
	 split($4,s," ")
	 line=s[2]
}

# You may have to substitute a tab character for the \t here:
/^[\t-]*\^/ {
	p=match($0, ".*\\^" )
	col=RLENGTH-2
	printf("%s, line %d, col %d : %s\n", file,line,col,msg)
}