Mercurial > vim
view runtime/tools/mve.awk @ 19595:1de842e3c329 v8.2.0354
patch 8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTAL
Commit: https://github.com/vim/vim/commit/a65bb53514a1af1ec0dc5c4831dfaef69f139a48
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 4 22:06:07 2020 +0100
patch 8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTAL
Problem: Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal)
Solution: Remove it, it was only for debugging.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Mar 2020 22:15:03 +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) }