comparison src/ex_cmds.c @ 21773:2f2e528c5782 v8.2.1436

patch 8.2.1436: function implementing :substitute has unexpected name Commit: https://github.com/vim/vim/commit/66e0014ba651208ab7579797866ab0e4bd9e2b49 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 12 21:58:12 2020 +0200 patch 8.2.1436: function implementing :substitute has unexpected name Problem: Function implementing :substitute has unexpected name. Solution: Rename from do_sub() to ex_substitute().
author Bram Moolenaar <Bram@vim.org>
date Wed, 12 Aug 2020 22:00:04 +0200
parents 0b448762ebbd
children 0deb6f96a5a3
comparison
equal deleted inserted replaced
21772:cd4522a891dd 21773:2f2e528c5782
3551 * /pattern/substitution/{flags} 3551 * /pattern/substitution/{flags}
3552 * 3552 *
3553 * The usual escapes are supported as described in the regexp docs. 3553 * The usual escapes are supported as described in the regexp docs.
3554 */ 3554 */
3555 void 3555 void
3556 do_sub(exarg_T *eap) 3556 ex_substitute(exarg_T *eap)
3557 { 3557 {
3558 linenr_T lnum; 3558 linenr_T lnum;
3559 long i = 0; 3559 long i = 0;
3560 regmmatch_T regmatch; 3560 regmmatch_T regmatch;
3561 static subflags_T subflags = {FALSE, FALSE, FALSE, TRUE, FALSE, 3561 static subflags_T subflags = {FALSE, FALSE, FALSE, TRUE, FALSE,