Mercurial > vim
view runtime/tools/mve.awk @ 18902:b24648ebcbc9 v8.2.0012
patch 8.2.0012: some undo functionality is not tested
Commit: https://github.com/vim/vim/commit/559b9c68fe550f3af63d42e0838622aab1ceb1b3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 15 18:09:19 2019 +0100
patch 8.2.0012: some undo functionality is not tested
Problem: Some undo functionality is not tested.
Solution: Add a few more test cases. (Dominique Pelle, closes https://github.com/vim/vim/issues/5364)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 15 Dec 2019 18: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) }