Mercurial > vim
view runtime/tools/mve.awk @ 15510:41fbbcea0f1b v8.1.0763
patch 8.1.0763: nobody is using the Sun Workshop support
commit https://github.com/vim/vim/commit/bb1969b6ab28120c93b77817e7b6075e1aecf663
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 17 15:45:25 2019 +0100
patch 8.1.0763: nobody is using the Sun Workshop support
Problem: Nobody is using the Sun Workshop support.
Solution: Remove the Workshop support.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 17 Jan 2019 16:00:08 +0100 |
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) }