c85d938
To: vim-dev@vim.org
c85d938
Subject: Patch 7.2.028
c85d938
Fcc: outbox
c85d938
From: Bram Moolenaar <Bram@moolenaar.net>
c85d938
Mime-Version: 1.0
c85d938
Content-Type: text/plain; charset=ISO-8859-1
c85d938
Content-Transfer-Encoding: 8bit
c85d938
------------
c85d938
c85d938
Patch 7.2.028
c85d938
Problem:    Confusing error message for missing ().
c85d938
Solution:   Change "braces" to "parentheses". (Gary Johnson)
c85d938
Files:	    src/eval.c
c85d938
c85d938
c85d938
*** ../vim-7.2.027/src/eval.c	Wed Sep 10 15:38:13 2008
c85d938
--- src/eval.c	Tue Sep 30 21:43:38 2008
c85d938
***************
c85d938
*** 3287,3293 ****
c85d938
  
c85d938
      if (*startarg != '(')
c85d938
      {
c85d938
! 	EMSG2(_("E107: Missing braces: %s"), eap->arg);
c85d938
  	goto end;
c85d938
      }
c85d938
  
c85d938
--- 3293,3299 ----
c85d938
  
c85d938
      if (*startarg != '(')
c85d938
      {
c85d938
! 	EMSG2(_("E107: Missing parentheses: %s"), eap->arg);
c85d938
  	goto end;
c85d938
      }
c85d938
  
c85d938
*** ../vim-7.2.027/src/version.c	Thu Nov  6 10:23:03 2008
c85d938
--- src/version.c	Thu Nov  6 11:02:51 2008
c85d938
***************
c85d938
*** 678,679 ****
c85d938
--- 678,681 ----
c85d938
  {   /* Add new patch number below this line */
c85d938
+ /**/
c85d938
+     28,
c85d938
  /**/
c85d938
c85d938
-- 
c85d938
Wizards had always known that the act of observation changed the thing that
c85d938
was observed, and sometimes forgot that it also changed the observer too.
c85d938
			Terry Pratchett  -  Interesting times
c85d938
c85d938
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
c85d938
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
c85d938
\\\        download, build and distribute -- http://www.A-A-P.org        ///
c85d938
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///