Function: verilog-enum-ascii
verilog-enum-ascii is a byte-compiled function defined in
verilog-mode.el.gz.
Signature
(verilog-enum-ascii SIGNM ELIM-REGEXP)
Documentation
Convert an enum name SIGNM to an ascii string for insertion.
Remove user provided prefix ELIM-REGEXP.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
(defun verilog-enum-ascii (signm elim-regexp)
"Convert an enum name SIGNM to an ascii string for insertion.
Remove user provided prefix ELIM-REGEXP."
(or elim-regexp (setq elim-regexp "_ DONT MATCH IT_"))
(let ((case-fold-search t))
;; All upper becomes all lower for readability
(downcase (verilog-string-replace-matches elim-regexp "" nil nil signm))))