congo-cc / congo-parser-generator

The CongoCC Parser Generator, the Next Generation of JavaCC 21, which in turn was the next generation of JavaCC
https://discuss.congocc.org/
Other
36 stars 11 forks source link

Declare fields on a separate line, use space between method parameters #30

Closed stbischof closed 1 year ago

stbischof commented 1 year ago

this was explicit not a bug. It helps developers that uses code analysis tools to see how good the quality of the generated parser-code is closes #21

revusky commented 1 year ago

In terms of spaces between method parameters, I don't think that changing these template files will actually affect that --- at least not in the actual generated file -- because all the whitespace formatting is done in a separate pass by this JavaFormatter class. So, if the lack of space between method parameters bothers you, you would need to figure out how to change that in the JavaFormatter class.

stbischof commented 1 year ago

The whitespace was just on the way.