Found issue when using the svlint's rule style_indent with `default_nettype none.
The function preprocess() was pushing the space(s) between default_nettype and none plus any whitespace at the end of the line, after pushing the whole directive to ret.
This PR adds a 1b FSM (skip_whitespace) which controls whether WhiteSpace nodes are pushed to ret.
Found issue when using the svlint's rule style_indent with
`default_nettype none
. The functionpreprocess()
was pushing the space(s) betweendefault_nettype
andnone
plus any whitespace at the end of the line, after pushing the whole directive toret
. This PR adds a 1b FSM (skip_whitespace
) which controls whetherWhiteSpace
nodes are pushed toret
.