Mercurial > vim
view runtime/tools/mve.awk @ 29060:a8c0c5865e73 v8.2.5052
patch 8.2.5052: CI checkout step title is a bit cryptic
Commit: https://github.com/vim/vim/commit/bfaa24f95343af9c058696644375d04e660f1b00
Author: Philip H <47042125+pheiduck@users.noreply.github.com>
Date: Wed Jun 1 21:26:34 2022 +0100
patch 8.2.5052: CI checkout step title is a bit cryptic
Problem: CI checkout step title is a bit cryptic.
Solution: Add a better title. (closes https://github.com/vim/vim/issues/10509)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 01 Jun 2022 22:30: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) }