veripool / verilog-mode

Verilog-Mode for Emacs with Indentation, Hightlighting and AUTOs. Master repository for pushing to GNU, verilog.com and veripool.org.
http://veripool.org/verilog-mode
GNU General Public License v3.0
247 stars 90 forks source link

Fix issue #1321: incorrect indentation of coverpoints #1766

Closed gmlarumbe closed 2 years ago

gmlarumbe commented 2 years ago

This PR fixes issue #1321

verilog-at-constraint-p returned nil when point was at the opening brace of a coverpoint if preceded by [] or {,} expressions. This function is called by verilog-calc-1 which in turn is called by verilog-calculate-indent.

wsnyder commented 2 years ago

Thanks for looking into and fixing this.