lalitmetkar / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

C indenting: label causes the action in if() construct to be indented too much #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the following examples the calls to c() and d() are indented too much:

#v+
void func()
{
    if (a)
        b();
    else
        foo:
            c();
    d();

    if (a)
        b();
    else
        bar:
        {
            c();
            d();
        }
    e();
}
#v-

Original issue reported on code.google.com by lech.lor...@gmail.com on 13 Dec 2011 at 10:04