Recognize special
(vl-scary-translate-comment-p x) → *
It seems as though different tools have different syntax for this. From internet searches, it appears that at least the following may be used by different tools:
As well as
Well, it seems pretty reasonable to just flag any comment that mentions
Function:
(defun vl-scary-translate-comment-p (x) (declare (xargs :guard (stringp x))) (let ((__function__ 'vl-scary-translate-comment-p)) (declare (ignorable __function__)) (or (str::substrp "translate_on" x) (str::substrp "translate_off" x))))