Skip to content

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

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions