view runtime/tools/mve.awk @ 29974:aafac1ae89c7 v9.0.0325

patch 9.0.0325: MS-Windows: completion test fails Commit: https://github.com/vim/vim/commit/816736bcc74ddd058f68d565d9e2b2fca153c33a Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 29 23:01:45 2022 +0100 patch 9.0.0325: MS-Windows: completion test fails Problem: MS-Windows: completion test fails. Solution: Adjust directory prefix.
author Bram Moolenaar <Bram@vim.org>
date Tue, 30 Aug 2022 00:15:03 +0200
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)
}