0
0
mirror of https://github.com/vim/vim.git synced 2025-10-27 09:24:23 -04:00

updated for version 7.3.379

Problem:    C-indenting wrong for static enum.
Solution:   Skip over "static". (Lech Lorens)
This commit is contained in:
Bram Moolenaar
2011-12-14 20:05:21 +01:00
parent 323cb95120
commit a528565cf1
4 changed files with 25 additions and 6 deletions

View File

@@ -299,18 +299,25 @@ char *(array[100]) = {
enum soppie
{
yes = 0,
no,
maybe
yes = 0,
no,
maybe
};
typedef enum soppie
{
yes = 0,
no,
maybe
yes = 0,
no,
maybe
};
static enum
{
yes = 0,
no,
maybe
} soppie;
{
int a,
b;

View File

@@ -299,6 +299,13 @@ typedef enum soppie
maybe
};
static enum
{
yes = 0,
no,
maybe
} soppie;
{
int a,
b;