jeremiah-c-leary / vhdl-style-guide

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

Reduce duplication in vhdlFile.py #1300

Open JHertz5 opened 3 weeks ago

JHertz5 commented 3 weeks ago

I'm raising this issue to facilitate some code improvements that I'd like to make to vhdlFile. The post_token_assignments function is a very long chain of if-elsif statements with a many of the clauses executing identical code. I've got some ideas on how to improve the code here slightly.

JHertz5 commented 3 weeks ago

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