jeremiah-c-leary / vhdl-style-guide

Style guide enforcement for VHDL
GNU General Public License v3.0
192 stars 39 forks source link

Indent rules for end of protected type declarations #1288

Closed JHertz5 closed 5 days ago

JHertz5 commented 1 month ago

Is your feature request related to a problem? Please describe. I'd like a rule to correct the indentation of the end of protected type declarations, e.g.

package test is

  type flag_pt is protected
          end protected;

end package test;

package body test is

  type flag_pt is protected body
        end protected body;

end package body test;

should be corrected to

package test is

  type flag_pt is protected
  end protected;

end package test;

package body test is

  type flag_pt is protected body
  end protected body;

end package body test;
JHertz5 commented 1 month ago

I've raised PR #1294 to resolve this issue.