-
v0.35.0
Stablereleased this
2026-09-03 03:46:24 -07:00 | 191 commits to master since this releaseFormat fences reach statements and class bodies
// verilog_format: off/// lucisv: off(and thelucisv:spelling)
now protect statements insidebegin … end,fork … join, function
and task bodies andalways/initial/finalblocks, and items inside
a class body — not only items at module scope. A fenced region is
copied byte for byte, keeps its own indentation, and is a fixed point
under a second pass; an unmatchedoffruns to the end of its own
list.--linesrange formatting honours a fenced statement inside the
selected range. Four opentitan files that already carried fences inside
functions and class bodies now keep those bytes.One rule is applied uniformly: a fence must start its line (whitespace
or a finished block comment may precede it). A fence written after code
on the same line —module m; // lucisv: off— is an ordinary comment,
as the fence documentation has said since the feature shipped; it used
to open a region at module scope by accident.Not yet fenceable, with reasons in the feature README: port lists,
case-item label lists, same-line fences, and a property's local
declarations.Downloads