Patch 7.3.845 (after 7.3.844)
Problem:    Enum indenting is not tested.
Solution:   Add tests. (Hong Xu)
Files:      src/testdir/test3.in, src/testdir/test3.ok


*** ../vim-7.3.844/src/testdir/test3.in 2012-06-13 13:40:45.000000000 +0200
--- src/testdir/test3.in        2013-03-07 12:39:35.000000000 +0100
***************
*** 318,323 ****
--- 318,337 ----
  maybe
  } soppie;
  
+ public static enum
+ {
+ yes = 0,
+ no,
+ maybe
+ } soppie;
+ 
+ static private enum
+ {
+ yes = 0,
+ no,
+ maybe
+ } soppie;
+ 
  {
        int a,
                b;
*** ../vim-7.3.844/src/testdir/test3.ok 2012-06-13 13:40:45.000000000 +0200
--- src/testdir/test3.ok        2013-03-07 12:40:03.000000000 +0100
***************
*** 306,311 ****
--- 306,325 ----
        maybe
  } soppie;
  
+ public static enum
+ {
+       yes = 0,
+       no,
+       maybe
+ } soppie;
+ 
+ static private enum
+ {
+       yes = 0,
+       no,
+       maybe
+ } soppie;
+ 
  {
        int a,
                b;
*** ../vim-7.3.844/src/version.c        2013-03-07 13:13:45.000000000 +0100
--- src/version.c       2013-03-07 13:18:49.000000000 +0100
***************
*** 730,731 ****
--- 730,733 ----
  {   /* Add new patch number below this line */
+ /**/
+     845,
  /**/

-- 
"So this is it," said Arthur, "we are going to die."
"Yes," said Ford, "except...no!  Wait a minute!"  He suddenly lunged across
the chamber at something behind Arthur's line of vision.  "What's this
switch?" he cried.
"What?   Where?" cried Arthur, twisting around.
"No, I was only fooling," said Ford, "we are going to die after all."
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui