changeset 4187:171234e02b1e v7.3.845

updated for version 7.3.845 Problem: Enum indenting is not tested. Solution: Add tests. (Hong Xu)
author Bram Moolenaar <bram@vim.org>
date Thu, 07 Mar 2013 13:21:32 +0100
parents 7ffc704cb7c1
children de39e7cfa6be
files src/testdir/test3.in src/testdir/test3.ok src/version.c
diffstat 3 files changed, 30 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test3.in
+++ b/src/testdir/test3.in
@@ -318,6 +318,20 @@ no,
 maybe
 } soppie;
 
+public static enum
+{
+yes = 0,
+no,
+maybe
+} soppie;
+
+static private enum
+{
+yes = 0,
+no,
+maybe
+} soppie;
+
 {
 	int a,
 		b;
--- a/src/testdir/test3.ok
+++ b/src/testdir/test3.ok
@@ -306,6 +306,20 @@ static enum
 	maybe
 } soppie;
 
+public static enum
+{
+	yes = 0,
+	no,
+	maybe
+} soppie;
+
+static private enum
+{
+	yes = 0,
+	no,
+	maybe
+} soppie;
+
 {
 	int a,
 		b;
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    845,
+/**/
     844,
 /**/
     843,