Mercurial > vim
view runtime/tools/mve.awk @ 17474:f8c197962c1e v8.1.1735
patch 8.1.1735: can't build with tiny features
commit https://github.com/vim/vim/commit/c61a48d25995e5ee2a3813f64c531b91bb23e9b9
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 22 23:16:33 2019 +0200
patch 8.1.1735: can't build with tiny features
Problem: Can't build with tiny features.
Solution: Add missing #ifdefs.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 22 Jul 2019 23:30:05 +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) }