Function: verilog-skip-forward-comment-or-string
verilog-skip-forward-comment-or-string is a byte-compiled function
defined in verilog-mode.el.gz.
Signature
(verilog-skip-forward-comment-or-string)
Documentation
Return true if in a string or comment.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
(defun verilog-skip-forward-comment-or-string ()
"Return true if in a string or comment."
(let ((state (save-excursion (verilog-syntax-ppss))))
(cond
((nth 3 state) ;Inside string
(search-forward "\"")
t)
((nth 7 state) ;Inside // comment
(forward-line 1)
t)
((nth 4 state) ;Inside any comment (hence /**/)
(search-forward "*/"))
(t
nil))))