diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-03-07 13:21:32 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-03-07 13:21:32 +0100 |
commit | d999db2f1e5ec51042883d35ca44f0d751324b19 (patch) | |
tree | 5e8ecdd02d18acb143f060497ef3aa8d93760d54 | |
parent | 34700a6a15323a499d56b2f66a286fc368783371 (diff) | |
download | vim-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.in | 14 | ||||
-rw-r--r-- | src/testdir/test3.ok | 14 | ||||
-rw-r--r-- | src/version.c | 2 |
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, |