# HG changeset patch # User Bram Moolenaar # Date 1362658892 -3600 # Node ID 171234e02b1e74a2482003d56e7110d37fb4a62b # Parent 7ffc704cb7c10d53445d47528c647fd3f8c8afe0 updated for version 7.3.845 Problem: Enum indenting is not tested. Solution: Add tests. (Hong Xu) diff --git a/src/testdir/test3.in b/src/testdir/test3.in --- 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 --- 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 --- 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,