Mercurial > vim
view runtime/tools/mve.awk @ 30075:be5b8d4616b2 v9.0.0375
patch 9.0.0375: the footer feature is unused
Commit: https://github.com/vim/vim/commit/c8ac3a072f18d4b250e55e91f610fe517e218777
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 4 12:29:28 2022 +0100
patch 9.0.0375: the footer feature is unused
Problem: The footer feature is unused.
Solution: Remove FEAT_FOOTER and code.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 04 Sep 2022 13: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) }