Skip to content

indent lost after endcase of randcase block #250

@keeeeymann

Description

@keeeeymann

I have this example:

begin
    randcase
        1: value = 1;
    endcase

    begin //indent problem
    end
end

begin
    case (x)
        1: value = 1;
    endcase

    begin
    end
end

The indentation begin-end block after endcase of randcase is wrongly reset to zero after indenting.

The case block has no problem.

begin
    randcase
        1: value = 1;
    endcase

begin //indent problem
end
end

begin
    case (x)
        1: value = 1;
    endcase

    begin
    end
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions