First commit removes unused declaration regexps and does some refactoring to group all declaration regexp related code into one function. This should make functions like verilog-pretty-declarations and verilog-pretty-expr more easily maintainable.
Second commit removes some commented code on previous functions and fixes a typo on one of the variable names.
Since this is somehow a code cleaning PR I thought both commits could be squashed into a single one. What do you think @wsnyder ?
Hi,
This PR should not add any functional change.
First commit removes unused declaration regexps and does some refactoring to group all declaration regexp related code into one function. This should make functions like
verilog-pretty-declarations
andverilog-pretty-expr
more easily maintainable.Second commit removes some commented code on previous functions and fixes a typo on one of the variable names.
Since this is somehow a code cleaning PR I thought both commits could be squashed into a single one. What do you think @wsnyder ?
Thanks!