summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-03-07 13:21:32 +0100
committerBram Moolenaar <Bram@vim.org>2013-03-07 13:21:32 +0100
commitd999db2f1e5ec51042883d35ca44f0d751324b19 (patch)
tree5e8ecdd02d18acb143f060497ef3aa8d93760d54
parent34700a6a15323a499d56b2f66a286fc368783371 (diff)
downloadvim-git-7.3.845.tar.gz
updated for version 7.3.845v7.3.845
Problem: Enum indenting is not tested. Solution: Add tests. (Hong Xu)
-rw-r--r--src/testdir/test3.in14
-rw-r--r--src/testdir/test3.ok14
-rw-r--r--src/version.c2
3 files changed, 30 insertions, 0 deletions
diff --git a/src/testdir/test3.in b/src/testdir/test3.in
index abb7750f8..a7543945c 100644
--- 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;
diff --git a/src/testdir/test3.ok b/src/testdir/test3.ok
index 011751be8..d73a5e123 100644
--- 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;
diff --git a/src/version.c b/src/version.c
index 17241fd28..83c044d72 100644
--- 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,