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:
@@ -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;
|
||||
|
||||
@@ -299,6 +299,13 @@ typedef enum soppie
|
||||
maybe
|
||||
};
|
||||
|
||||
static enum
|
||||
{
|
||||
yes = 0,
|
||||
no,
|
||||
maybe
|
||||
} soppie;
|
||||
|
||||
{
|
||||
int a,
|
||||
b;
|
||||
|
||||
Reference in New Issue
Block a user