[BACK]Return to comment.in CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / roff / esc

File: [cvsweb.bsd.lv] / mandoc / regress / roff / esc / comment.in (download)

Revision 1.1, Sun May 1 16:22:07 2022 UTC (2 years, 1 month ago) by schwarze
Branch: MAIN
CVS Tags: HEAD

Split a new function roff_parse_comment() out of roff_expand() because this
functionality is not needed when called from roff_getarg().  This makes the
long and complicated function roff_expand() significantly shorter, and also
simpler in so far as it no longer needs to return ROFF_APPEND.
No functional change intended.

.\" $OpenBSD: comment.in,v 1.1 2022/05/01 16:18:59 schwarze Exp $
.Dd $Mdocdate: May 1 2022 $
.Dt ROFF-ESC-COMMENT 1
.Os
.Sh NAME
.Nm roff-esc-comment
.Nd roff(7) comments
.Sh DESCRIPTION
text line cont\
inuation
.Pp
macro line continuation:
.Op Fl f A\
r file
.Pp
whitespace  \&
at the end of an input line
.Pp
text line with  \"not printed\
comment
.Pp
continuation  \#not printed  
requested by a comment
.Pp
Surpisingly, the sequence \\" does not start a comment.