Mercurial > vim
diff src/vim9compile.c @ 23229:b545334ae654 v8.2.2160
patch 8.2.2160: various typos
Commit: https://github.com/vim/vim/commit/8e7d6223f630690b72b387eaed704bf01f3f29d2
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 18 19:49:56 2020 +0100
patch 8.2.2160: various typos
Problem: Various typos.
Solution: Fix spelling mistakes. (closes https://github.com/vim/vim/issues/7494)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 18 Dec 2020 20:00:06 +0100 |
parents | 59f31d2eb4cf |
children | 657216220293 |
line wrap: on
line diff
--- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -318,7 +318,7 @@ find_script_var(char_u *name, size_t len } /* - * Returnd TRUE if the script context is Vim9 script. + * Return TRUE if the script context is Vim9 script. */ static int script_is_vim9() @@ -1958,7 +1958,7 @@ generate_cmdmods(cctx_T *cctx, cmdmod_T if (isn->isn_arg.cmdmod.cf_cmdmod == NULL) return FAIL; mch_memmove(isn->isn_arg.cmdmod.cf_cmdmod, cmod, sizeof(cmdmod_T)); - // filter progam now belongs to the instruction + // filter program now belongs to the instruction cmod->cmod_filter_regmatch.regprog = NULL; } @@ -3507,7 +3507,7 @@ compile_subscript( } } - // Do not skip over white space to find the "(", "exeucte 'x' ()" is + // Do not skip over white space to find the "(", "execute 'x' ()" is // not a function call. if (**arg == '(') { @@ -6835,7 +6835,7 @@ compile_endblock(cctx_T *cctx) * ... try block * " catch {expr}" * JUMP -> finally - * catch1: PUSH exeception + * catch1: PUSH exception * EVAL {expr} * MATCH * JUMP nomatch -> catch2 @@ -7132,7 +7132,7 @@ compile_mult_expr(char_u *arg, int cmdid } /* - * If "eap" has a range that is not a contstant generate an ISN_RANGE + * If "eap" has a range that is not a constant generate an ISN_RANGE * instruction to compute it and return OK. * Otherwise return FAIL, the caller must deal with any range. */