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