view runtime/tools/mve.awk @ 30235:2403a1b53826 v9.0.0453

patch 9.0.0453: on an AZERTY keyboard digit keys get the shift modifier Commit: https://github.com/vim/vim/commit/83a19c5fda0556330860899bfb484addf9178cd0 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Sep 12 20:35:28 2022 +0100 patch 9.0.0453: on an AZERTY keyboard digit keys get the shift modifier Problem: On an AZERTY keyboard digit keys get the shift modifier. Solution: Remove the shift modifier from digit keys. (closes https://github.com/vim/vim/issues/11109)
author Bram Moolenaar <Bram@vim.org>
date Mon, 12 Sep 2022 21:45: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)
}