jeremiah-c-leary / vhdl-style-guide

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

Check the case of the "return" keyword in functions #945

Closed flyinged closed 11 months ago

flyinged commented 1 year ago

Is your feature request related to a problem? Please describe. Currently, there's no way to fix the case of the "return" keyword in a function definition. If the "return" keyword is written uppercase, it won't be fixed.

Describe the solution you'd like A rule that allows control on the case of the "return" keyword (case::keyword group)

Describe alternatives you've considered I didn't find another way to control the case of the "return" keyword.

jeremiah-c-leary commented 11 months ago

Good Evening @flyinged,

I pushed an update for this to the issue-945 branch. I added three rules: function_501, return_statement_300 and return_statement_500. When you get a chance could you check it out on your end and let me know if there are any issues.

Thanks,

--Jeremy

jeremiah-c-leary commented 11 months ago

Good Morning @flyinged ,

Just wanted to let you know I will be merging this into master.

--Jeremy