Print a line comment after preprocessing.
(pprint-line-comment content bytes) → new-bytes
Function:
(defun pprint-line-comment (content bytes) (declare (xargs :guard (and (nat-listp content) (byte-listp bytes)))) (let ((__function__ 'pprint-line-comment)) (declare (ignorable __function__)) (b* ((bytes (pprint-astring "//" bytes)) ((unless (grammar-character-listp content)) (raise "Internal error: bad line comment content ~x0." (nat-list-fix content))) (bytes (pprint-chars content bytes))) bytes)))
Theorem:
(defthm byte-listp-of-pprint-line-comment (b* ((new-bytes (pprint-line-comment content bytes))) (byte-listp new-bytes)) :rule-classes :rewrite)