Loading ...
Sorry, an error occurred while loading the content.
 

Patch 6.1.123

Expand Messages
  • Bram Moolenaar
    Patch 6.1.123 Problem: A :match command with more than one argument doesn t report an error. Solution: Check for extra characters. (Servatius Brandt)
    Message 1 of 1 , Jul 4, 2002
      Patch 6.1.123
      Problem: A ":match" command with more than one argument doesn't report an
      error.
      Solution: Check for extra characters. (Servatius Brandt)
      Files: src/ex_docmd.c


      *** ../vim61.122/src/ex_docmd.c Sat May 11 20:47:01 2002
      --- src/ex_docmd.c Tue Jul 2 20:04:13 2002
      ***************
      *** 8912,8917 ****
      --- 8920,8931 ----
      return;
      }
      end = skip_regexp(p + 1, *p, TRUE, NULL);
      + if (*end != NUL && !ends_excmd(*skipwhite(end + 1)))
      + {
      + eap->errmsg = e_trailing;
      + return;
      + }
      +
      if (!eap->skip)
      {
      c = *end;
      *** ../vim61.122/src/version.c Thu Jul 4 20:55:17 2002
      --- src/version.c Thu Jul 4 20:57:07 2002
      ***************
      *** 608,609 ****
      --- 608,611 ----
      { /* Add new patch number below this line */
      + /**/
      + 123,
      /**/

      --
      User: I'm having problems with my text editor.
      Help desk: Which editor are you using?
      User: I don't know, but it's version VI (pronounced: 6).
      Help desk: Oh, then you should upgrade to version VIM (pronounced: 994).

      /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
      /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\
      \\\ Project leader for A-A-P -- http://www.a-a-p.org ///
      \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
    Your message has been successfully submitted and would be delivered to recipients shortly.