verilog-set-auto-endcomments

verilog-set-auto-endcomments is a compiled Lisp function in `verilog-mode.el'.

(verilog-set-auto-endcomments INDENT-STR KILL-EXISTING-COMMENT)

Add ending comment with given INDENT-STR.
With KILL-EXISTING-COMMENT, remove what was there before.
Insert `// case: 7 ' or `// NAME ' on this line if appropriate.
Insert `// case expr ' if this line ends a case block.
Insert `// ifdef FOO ' if this line ends code conditional on FOO.
Insert `// NAME ' if this line ends a function, task, module,
primitive or interface named NAME.