]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.2160: various typos v8.2.2160
authorBram Moolenaar <Bram@vim.org>
Fri, 18 Dec 2020 18:49:56 +0000 (19:49 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 18 Dec 2020 18:49:56 +0000 (19:49 +0100)
Problem:    Various typos.
Solution:   Fix spelling mistakes. (closes #7494)

39 files changed:
src/bufwrite.c
src/cindent.c
src/cmdexpand.c
src/eval.c
src/ex_cmds.c
src/feature.h
src/getchar.c
src/gui_haiku.cc
src/gui_xmdlg.c
src/help.c
src/if_ole.cpp
src/insexpand.c
src/list.c
src/map.c
src/memline.c
src/normal.c
src/os_win32.c
src/search.c
src/term.c
src/testdir/test_arglist.vim
src/testdir/test_autocmd.vim
src/testdir/test_debugger.vim
src/testdir/test_increment.vim
src/testdir/test_menu.vim
src/testdir/test_netbeans.vim
src/testdir/test_popupwin.vim
src/testdir/test_python2.vim
src/testdir/test_python3.vim
src/testdir/test_sort.vim
src/testdir/test_terminal2.vim
src/testdir/test_terminal3.vim
src/testdir/test_vartabs.vim
src/testdir/test_vimscript.vim
src/textprop.c
src/userfunc.c
src/version.c
src/vim9.h
src/vim9compile.c
src/vim9execute.c

index d9f85a3a38ddf2524f885bc27fba857251cb3255..c6d882cd5fb6f086a91824f19290ff6a6f953134 100644 (file)
@@ -2138,7 +2138,7 @@ restore_backup:
     if (!checking_conversion)
     {
 #if defined(UNIX) && defined(HAVE_FSYNC)
-       // On many journalling file systems there is a bug that causes both the
+       // On many journaling file systems there is a bug that causes both the
        // original and the backup file to be lost when halting the system
        // right after writing the file.  That's because only the meta-data is
        // journalled.  Syncing the file slows down the system, but assures it
index aeecc4b95c7bda2f28da67c652aacd937aa498f5..b2fac1a9fb211e9637199a75b80ec521ea6d1c93 100644 (file)
@@ -2121,7 +2121,7 @@ get_c_indent(void)
     }
 
     // #defines and so on go at the left when included in 'cinkeys',
-    // exluding pragmas when customized in 'cinoptions'
+    // excluding pragmas when customized in 'cinoptions'
     if (*theline == '#' && (*linecopy == '#' || in_cinkeys('#', ' ', TRUE)))
     {
        char_u *directive = skipwhite(theline + 1);
index f3e19bc0202873b7182d378cabc94f83424d3a7b..11cb0e3245423eec8a2852b5deca42898a2cc701 100644 (file)
@@ -1049,7 +1049,7 @@ set_one_cmd_context(
                ++p;
     }
 
-    // If the cursor is touching the command, and it ends in an alpha-numeric
+    // If the cursor is touching the command, and it ends in an alphanumeric
     // character, complete the command name.
     if (*p == NUL && ASCII_ISALNUM(p[-1]))
        return NULL;
index 6ce2ebf68df3c2a23dd36bf66ac150881a6ca24b..06c6adaf852f9388af4c18bf6fcbc0f4f06e7c62 100644 (file)
@@ -4631,7 +4631,7 @@ set_ref_in_item(
  * "numbuf" is used for a number.
  * When "copyID" is not NULL replace recursive lists and dicts with "...".
  * When both "echo_style" and "composite_val" are FALSE, put quotes around
- * stings as "string()", otherwise does not put quotes around strings, as
+ * strings as "string()", otherwise does not put quotes around strings, as
  * ":echo" displays values.
  * When "restore_copyID" is FALSE, repeated items in dictionaries and lists
  * are replaced with "...".
index 44d8cd8500f200316cc98d715b0a6daa6a4ef305..e7575f95019af341ac99d124771975b29ef41a17 100644 (file)
@@ -2660,7 +2660,7 @@ do_ecmd(
                    if (tlnum <= 0)
                        tlnum = 1L;
                }
-               // Add BLN_NOCURWIN to avoid a new wininfo items are assocated
+               // Add BLN_NOCURWIN to avoid a new wininfo items are associated
                // with the current window.
                newbuf = buflist_new(ffname, sfname, tlnum,
                                                    BLN_LISTED | BLN_NOCURWIN);
index 8f7322bef1a7aa4dc341f627dd5b68bb1897793e..5f6f800c22b0a2a57984b0bfb3b89e7f2d1521af 100644 (file)
  * +mouse_sgr          Unix only: Include code for for SGR-styled mouse.
  * +mouse_sysmouse     Unix only: Include code for FreeBSD and DragonFly
  *                     console mouse handling.
- * +mouse_urxvt                Unix only: Include code for for urxvt mosue handling.
+ * +mouse_urxvt                Unix only: Include code for for urxvt mouse handling.
  * +mouse              Any mouse support (any of the above enabled).
  *                     Always included, since either FEAT_MOUSE_XTERM or
  *                     DOS_MOUSE is defined.
index 3f2ad3c5f8d4b29fec00e441757e264c424ee2f6..cf2711bcd190383458d0a07fb87a4cbba0c86579 100644 (file)
@@ -2264,7 +2264,7 @@ at_ctrl_x_key(void)
 }
 
 /*
- * Check if typebuf.tb_buf[] contains a modifer plus key that can be changed
+ * Check if typebuf.tb_buf[] contains a modifier plus key that can be changed
  * into just a key, apply that.
  * Check from typebuf.tb_buf[typebuf.tb_off] to typebuf.tb_buf[typebuf.tb_off
  * + "max_offset"].
index c9294093c7a857d3ce1325eb95f6e628fd7b9ec0..a1c7e3eb1b1b579961de08e099246c3fbfe15e6c 100644 (file)
@@ -3411,7 +3411,7 @@ gui_mch_exit(int vim_exitcode)
        thread_id tid = gui.vimWindow->Thread();
        gui.vimWindow->Lock();
        gui.vimWindow->Quit();
-       // Wait until it is truely gone
+       // Wait until it is truly gone
        int32 exitcode;
        wait_for_thread(tid, &exitcode);
     }
index 04996efece236f5a90b055f8db410a8aadee35e1..ad3146a122091a514bd871e8113201e9fc7ed2c0 100644 (file)
@@ -497,7 +497,7 @@ fill_lists(enum ListSpecifier fix, SharedFontSelData *data)
     }
 
     /*
-     * Now loop trough the remaining lists and set them up.
+     * Now loop through the remaining lists and set them up.
      */
     for (idx = (int)NAME; idx < (int)NONE; ++idx)
     {
index d6bdcbb70a9077e4a18278bd16cf2b87ea31220b..ee6ff18512d9fc09478a71d61fc68e3ed2577a93 100644 (file)
@@ -325,7 +325,7 @@ find_help_tags(
     char_u     *s, *d;
     int                i;
     // Specific tags that either have a specific replacement or won't go
-    // throught the generic rules.
+    // through the generic rules.
     static char *(except_tbl[][2]) = {
        {"*",           "star"},
        {"g*",          "gstar"},
@@ -647,6 +647,8 @@ prepare_help_buffer(void)
 
     // Always set these options after jumping to a help tag, because the
     // user may have an autocommand that gets in the way.
+    // When adding an option here, also update the help file helphelp.txt.
+
     // Accept all ASCII chars for keywords, except ' ', '*', '"', '|', and
     // latin1 word characters (for translated help files).
     // Only set it when needed, buf_init_chartab() is some work.
index e415a1924df44f9ef75aaff949c64a2b0cc53436..f7108e4a74ede525381cabd62efad4387b3351a1 100644 (file)
@@ -635,7 +635,7 @@ static void GUIDtochar(const GUID &guid, char *GUID, int length)
     LPOLESTR wGUID = NULL;
     StringFromCLSID(guid, &wGUID);
 
-    // Covert from wide characters to non-wide
+    // Convert from wide characters to non-wide
     wcstombs(GUID, wGUID, length);
 
     // Free memory
index 28017d4366fd2250de79992d5b15d5047acb9039..8f4f9763d327e359e14e1b02cd57f1930a44f7ba 100644 (file)
@@ -3628,7 +3628,7 @@ ins_complete(int c, int enable_pum)
                    // line (probably) wrapped, set compl_startpos to the
                    // first non_blank in the line, if it is not a wordchar
                    // include it to get a better pattern, but then we don't
-                   // want the "\\<" prefix, check it bellow
+                   // want the "\\<" prefix, check it below
                    compl_col = (colnr_T)getwhitecols(line);
                    compl_startpos.col = compl_col;
                    compl_startpos.lnum = curwin->w_cursor.lnum;
index 6285e01d502c4748eb647b3aeb107eacc746da1e..1c41f07031efd83dd57619671dbb69a2903f09e0 100644 (file)
@@ -2693,7 +2693,7 @@ f_reverse(typval_T *argvars, typval_T *rettv)
 }
 
 /*
- * "reduce(list, { accumlator, element -> value } [, initial])" function
+ * "reduce(list, { accumulator, element -> value } [, initial])" function
  */
     void
 f_reduce(typval_T *argvars, typval_T *rettv)
index 229095bc1472b2f8dd124f319eda94fd60df0f49..f3dd5693ae177b6196c0d6e0cbb90bbed62fd45f 100644 (file)
--- a/src/map.c
+++ b/src/map.c
@@ -2221,7 +2221,7 @@ get_maparg(typval_T *argvars, typval_T *rettv, int exact)
     if (did_simplify)
     {
        // When the lhs is being simplified the not-simplified keys are
-       // preferred for priting, like in do_map().
+       // preferred for printing, like in do_map().
        // The "rhs" and "buffer_local" values are not expected to change.
        mp_simplified = mp;
        (void)replace_termcodes(keys, &alt_keys_buf,
index 19b87d7ee9451ccfa668e4a64d09b587c5bef9c7..4137a66ad88dcbaca0917c811376dabc1e3b3839 100644 (file)
@@ -5562,7 +5562,7 @@ ml_updatechunk(
                     && buf->b_ml.ml_line_count - line <= 1)
        {
            /*
-            * We are in the last chunk and it is cheap to crate a new one
+            * We are in the last chunk and it is cheap to create a new one
             * after this. Do it now to avoid the loop above later on
             */
            curchnk = buf->b_ml.ml_chunksize + curix + 1;
index 8dca5389ba9067f18c599a552cd53722ffe1f84b..1c664129a6cb164e03534824b74a00307cf0b87a 100644 (file)
@@ -5372,7 +5372,7 @@ v_visop(cmdarg_T *cap)
 nv_subst(cmdarg_T *cap)
 {
 #ifdef FEAT_TERMINAL
-    // When showing output of term_dumpdiff() swap the top and botom.
+    // When showing output of term_dumpdiff() swap the top and bottom.
     if (term_swap_diff() == OK)
        return;
 #endif
index 2f9ecdc9eaee6c6a994cbae34ff3a21e01a9ad08..972f10da5c234aefb585cb49ca70be8623ebf061 100644 (file)
@@ -7113,13 +7113,12 @@ mch_fopen(const char *name, const char *mode)
 /*
  * SUB STREAM (aka info stream) handling:
  *
- * NTFS can have sub streams for each file.  Normal contents of file is
- * stored in the main stream, and extra contents (author information and
- * title and so on) can be stored in sub stream.  After Windows 2000, user
- * can access and store those informations in sub streams via explorer's
- * property menuitem in right click menu.  Those informations in sub streams
- * were lost when copying only the main stream.  So we have to copy sub
- * streams.
+ * NTFS can have sub streams for each file.  The normal contents of a file is
+ * stored in the main stream, and extra contents (author information, title and
+ * so on) can be stored in a sub stream.  After Windows 2000, the user can
+ * access and store this information in sub streams via an explorer's property
+ * menu item in the right click menu.  This information in sub streams was lost
+ * when copying only the main stream.  Therefore we have to copy sub streams.
  *
  * Incomplete explanation:
  *     http://msdn.microsoft.com/library/en-us/dnw2k/html/ntfs5.asp
index cc7b5a979269a01321b12abffb4ce9ee35bf4c95..f95bf3c530802e0323545d972c90cec1accb2ad5 100644 (file)
@@ -3753,7 +3753,7 @@ search_line:
 
                    // we read a line, set "already" to check this "line" later
                    // if depth >= 0 we'll increase files[depth].lnum far
-                   // bellow  -- Acevedo
+                   // below  -- Acevedo
                    already = aux = p = skipwhite(line);
                    p = find_word_start(p);
                    p = find_word_end(p);
index 77675b2e3270a1f04cc06f4d4dc0b1d8006f64b4..26031723d2ca930165becb5ef5551f6308511314 100644 (file)
@@ -3744,7 +3744,7 @@ check_terminal_behavior(void)
 #endif
        LOG_TR(("Sending xterm compatibility test sequence."));
        // Do this in the third row.  Second row is used by ambiguous
-       // chararacter width check.
+       // character width check.
        term_windgoto(2, 0);
        // send the test DCS string.
        out_str((char_u *)"\033Pzz\033\\");
@@ -4531,7 +4531,7 @@ handle_u7_response(int *arg, char_u *tp UNUSED, int csi_len UNUSED)
 
 /*
  * Handle a response to T_CRV: {lead}{first}{x};{vers};{y}c
- * Xterm and alikes use '>' for {first}.
+ * Xterm and alike use '>' for {first}.
  * Rxvt sends "{lead}?1;2c".
  */
     static void
index f45a0d4d0b8cac89b5a46a2afb603f86cd8010e3..d6c369f0b02647c361a2dda570a5bc27e7a9eab7 100644 (file)
@@ -524,7 +524,7 @@ func Test_argdo()
   bwipe Xa.c Xb.c Xc.c
 endfunc
 
-" Test for quiting Vim with unedited files in the argument list
+" Test for quitting Vim with unedited files in the argument list
 func Test_quit_with_arglist()
   CheckRunVimInTerminal
   let buf = RunVimInTerminal('', {'rows': 6})
index 1873a7a3ac05d18209885952e1c77308ae60f5dd..f7963259b98f70cd140066fc9c888155cfd69226 100644 (file)
@@ -2324,7 +2324,7 @@ func Test_autocmd_SafeState()
   call writefile(lines, 'XSafeState')
   let buf = RunVimInTerminal('-S XSafeState', #{rows: 6})
 
-  " Sometimes we loop to handle a K_IGNORE, SafeState may be trigered once or
+  " Sometimes we loop to handle a K_IGNORE, SafeState may be triggered once or
   " more often.
   call term_sendkeys(buf, ":echo g:safe\<CR>")
   call WaitForAssert({-> assert_match('^\d ', term_getline(buf, 6))}, 1000)
index b3636408d8488bc9ac4578ec232989724b59e839..029b9dbc9cfa1b153d1346430ffe34a3a37f712a 100644 (file)
@@ -974,7 +974,7 @@ func Test_debug_backtrace_level()
         \ 'line 1: let s:file1_var = ''file1'''
         \ ], #{msec: 5000})
 
-  " step throught the initial declarations
+  " step through the initial declarations
   call RunDbgCmd(buf, 'step', [ 'line 2: let g:global_var = ''global''' ] )
   call RunDbgCmd(buf, 'step', [ 'line 4: func s:File1Func( arg )' ] )
   call RunDbgCmd(buf, 'echo s:file1_var', [ 'file1' ] )
index abd85bed8a6e93cdb0a66c33f686a9a472ed5135..1a631ec00f0c542467bf06e9ab94af85e220a220 100644 (file)
@@ -284,7 +284,7 @@ endfunc
 " 1
 "     1
 "     1
-"     Expexted:
+"     Expected:
 "     1) g Ctrl-A on block selected indented lines
 "     2
 " 1
index 033d4288444a6f946a0f4107cf7a7061981badf7..3df156011ea819ee355b1048f69a54edac5d7e28 100644 (file)
@@ -426,7 +426,7 @@ func Test_menu_special()
   nunmenu Test.Sign
 endfunc
 
-" Test for "icon=filname" in a toolbar
+" Test for "icon=filename" in a toolbar
 func Test_menu_icon()
   CheckFeature toolbar
   nmenu icon=myicon.xpm Toolbar.Foo  :echo "Foo"<CR>
index d56b4683fbd5e7a84aaa51378b836f4cf450207e..d792ab97c608450bf4e0334f651d199106b5114a 100644 (file)
@@ -839,7 +839,7 @@ func Test_nb_file_auth()
   call s:run_server('Nb_file_auth')
 endfunc
 
-" Test for quiting Vim with an open netbeans connection
+" Test for quitting Vim with an open netbeans connection
 func Nb_quit_with_conn(port)
   call delete("Xnetbeans")
   call writefile([], "Xnetbeans")
index a36e0f59974bcf7e4b29fd54059cb66a9c432a8f..b8641fe7d2b37ef5769a8f1cddc4cd0baa7d0727 100644 (file)
@@ -3308,7 +3308,7 @@ func Test_popupmenu_info_border()
   call term_sendkeys(buf, "cc\<C-X>\<C-U>")
   call VerifyScreenDump(buf, 'Test_popupwin_infopopup_6', {})
 
-  " Hide the info popup, cycle trough buffers, make sure it didn't get
+  " Hide the info popup, cycle through buffers, make sure it didn't get
   " deleted.
   call term_sendkeys(buf, "\<Esc>")
   call term_sendkeys(buf, ":set hidden\<CR>")
index ba73c1232e7cf24e47f35e5326b9d4f7b354d593..afefd10fed8206a4f35dc6c5e99d610fa9d62c80 100644 (file)
@@ -3692,7 +3692,7 @@ func Test_python_import()
   call assert_equal(expected, getline(2, '$'))
   close!
 
-  " Try to import a non-existing moudle with a dot (.)
+  " Try to import a non-existing module with a dot (.)
   call AssertException(['py import a.b.c'], 'ImportError:')
 endfunc
 
index 660ac461dfc6b4bf63e2fc3b620947f6cde57c16..78fe5d4c427545ce1f99f02e869f4e7debe62fd8 100644 (file)
@@ -3882,7 +3882,7 @@ func Test_python3_import()
   call assert_equal(expected, getline(2, '$'))
   close!
 
-  " Try to import a non-existing moudle with a dot (.)
+  " Try to import a non-existing module with a dot (.)
   call AssertException(['py3 import a.b.c'], "No module named 'a'")
 endfunc
 
index 07f0d0c0aff91e09de46097409840e72953a335c..39005627c1cffecd84a789a0889d12ab1c64e1d3 100644 (file)
@@ -1328,7 +1328,7 @@ func Test_sort_cmd()
     endif
   endfor
 
-  " Needs atleast two lines for this test
+  " Needs at least two lines for this test
   call setline(1, ['line1', 'line2'])
   call assert_fails('sort no', 'E474:')
   call assert_fails('sort c', 'E475:')
index 64310f6254fd171e4de6c633daa203ea9f2592fb..4dc8350240aea4907d1cef3510854b5e558aac9b 100644 (file)
@@ -287,7 +287,7 @@ func Test_zz1_terminal_in_gui()
   unlet g:job
 endfunc
 
-" TODO: reenable when this no longer hangs on Travis
+" TODO: re-enable when this no longer hangs on Travis
 "func Test_zz2_terminal_guioptions_bang()
 "  CheckGui
 "  set guioptions+=!
@@ -338,7 +338,7 @@ func Test_terminal_switch_mode()
   let bnr = bufnr('$')
   call WaitForAssert({-> assert_equal('running', term_getstatus(bnr))})
   " In the GUI the first switch sometimes doesn't work.  Switch twice to avoid
-  " flakyness.
+  " flakiness.
   call feedkeys("\<C-W>N", 'xt')
   call feedkeys("A", 'xt')
   call WaitForAssert({-> assert_equal('running', term_getstatus(bnr))})
index db6ebc00fb15afdc29935f142b44793a510e75f8..75882f1d1a05fb215a11b2f4c445914e907eb7f8 100644 (file)
@@ -145,7 +145,7 @@ func Test_terminal_in_popup()
   call delete('XtermPopup')
 endfunc
 
-" Check a terminal in popup window uses the default mininum size.
+" Check a terminal in popup window uses the default minimum size.
 func Test_terminal_in_popup_min_size()
   CheckRunVimInTerminal
 
index 7bdcde5eeeae4ef36f4e2fbc38f657bfcaad8711..0ff1ea8ac97ac9cd15deb6aa36bc3acbbdf06fb0 100644 (file)
@@ -97,7 +97,7 @@ func Test_vartabs()
   .retab!
   call assert_equal("\t\t\t\tl", getline(1))
 
-  " Test for 'retab' with same vlaues as vts
+  " Test for 'retab' with same values as vts
   set ts=8 sts=0 vts=5,3,6,2 vsts=
   exe "norm! S                l"
   .retab! 5,3,6,2
index e50e4d5fa312a91249cf33077688d0ce2b7657f8..dba8c73fc80cc4fd588550c7c5e4cad180b60e99 100644 (file)
@@ -7374,7 +7374,7 @@ func Test_invalid_function_names()
   endtry
   call assert_equal(1, caught_e884)
 
-  " function name folowed by #
+  " function name followed by #
   let caught_e128 = 0
   try
     func! test2() "#
index bca0d9e02171400977231877faee2541df77ff6e..5a18f6c734e07c41de818990c8a01302a22b1e23 100644 (file)
@@ -302,7 +302,7 @@ prop_add_common(
        if (length < 0)
            length = 0;         // zero-width property
 
-       // Allocate the new line with space for the new proprety.
+       // Allocate the new line with space for the new property.
        newtext = alloc(buf->b_ml.ml_line_len + sizeof(textprop_T));
        if (newtext == NULL)
            return;
@@ -1485,7 +1485,7 @@ prepend_joined_props(
        end = !(prop.tp_flags & TP_FLAG_CONT_NEXT);
 
        adjust_prop(&prop, 0, -removed, 0); // Remove leading spaces
-       adjust_prop(&prop, -1, col, 0); // Make line start at its final colum
+       adjust_prop(&prop, -1, col, 0); // Make line start at its final column
 
        if (add_all || end)
            mch_memmove(new_props + --(*props_remaining) * sizeof(prop),
index 2d71a7fd326e06dfd58f96eb2ddece962956b4e3..50088e6382ab633abfc8143cb6d25d78ecd5e7ed 100644 (file)
@@ -1409,7 +1409,7 @@ funcdepth_get(void)
 
 /*
  * Restore the function call depth.  This is for cases where there is no
- * garantee funcdepth_decrement() can be called exactly the same number of
+ * guarantee funcdepth_decrement() can be called exactly the same number of
  * times as funcdepth_increment().
  */
     void
index c9d8665334bf8cc9cb356e2a69d8bf8a86c35f51..69ec791d004eabb10e3ccc900b1a6ec2bce85ada 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2160,
 /**/
     2159,
 /**/
index 88cc4fce24ad2f573f17a6511a4d72e30afd8672..26b208025d868fda75611090921411ec7ae83ee8 100644 (file)
@@ -53,7 +53,7 @@ typedef enum {
     // ISN_STOREOTHER, // pop into other script variable isn_arg.other.
 
     ISN_STORENR,    // store number into local variable isn_arg.storenr.stnr_idx
-    ISN_STORELIST,     // store into list, value/index/varable on stack
+    ISN_STORELIST,     // store into list, value/index/variable on stack
     ISN_STOREDICT,     // store into dictionary, value/index/variable on stack
 
     ISN_UNLET,         // unlet variable isn_arg.unlet.ul_name
index 2db226c8d73b5be2407ef9e343fe9d817dbcf0ee..207ceb4eaccdb2e279895b2e5549454cd81e0ca6 100644 (file)
@@ -318,7 +318,7 @@ find_script_var(char_u *name, size_t len, cctx_T *cctx)
 }
 
 /*
- * 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 *cmod)
        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 cmdidx, cctx_T *cctx)
 }
 
 /*
- * 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.
  */
index 64b42cb05b81846ba80e1cd7629c6dc0869c8ec4..4fd62ce9ed971d0078a531d9a42166d9add5af10 100644 (file)
@@ -3137,7 +3137,7 @@ failed_early:
 }
 
 /*
- * ":dissassemble".
+ * ":disassemble".
  * We don't really need this at runtime, but we do have tests that require it,
  * so always include this.
  */