view runtime/tools/mve.awk @ 16998:2ec0f953ec3f v8.1.1499

patch 8.1.1499: ruler not updated after popup window was removed commit https://github.com/vim/vim/commit/24a5ac5d4dbc4dc5d6d2b7e4dda6612dd9233f5d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 8 19:01:18 2019 +0200 patch 8.1.1499: ruler not updated after popup window was removed Problem: Ruler not updated after popup window was removed. Solution: use popup_mask in screen_puts().
author Bram Moolenaar <Bram@vim.org>
date Sat, 08 Jun 2019 19:15:06 +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)
}