Skip to content

alias tags do not get proper indentation format

When running dbformat on records with misaligned alias tags, such as

record("*", "$(P)$(R_TCA9555)-LevelPin0_RBV") {
  alias("$(P)$(R_TCA9555)-TestLED1_RBV")
    field(DESC, "Test LED1 Status")

    info(DESCRIPTION, "Test LED 1 status")
}

The tag alignment does not get fixed.

I assume it is because the regex for DB01 does not account for the alias tag. Same probably occurs with DB02