summaryrefslogtreecommitdiffstats
path: root/regress/roff/esc/comment.out_ascii
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-05-01 16:22:06 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-05-01 16:22:06 +0000
commit190ab218c8673a1dac3efcb197d1f78159f6fe7c (patch)
treee2706d03a5c5c9c5f40955cd8e4287b91006aba9 /regress/roff/esc/comment.out_ascii
parent9aa6ef8197493fef732a3c196a9405dac78ef349 (diff)
downloadmandoc-190ab218c8673a1dac3efcb197d1f78159f6fe7c.tar.gz
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.
Diffstat (limited to 'regress/roff/esc/comment.out_ascii')
-rw-r--r--regress/roff/esc/comment.out_ascii19
1 files changed, 19 insertions, 0 deletions
diff --git a/regress/roff/esc/comment.out_ascii b/regress/roff/esc/comment.out_ascii
new file mode 100644
index 00000000..a8698686
--- /dev/null
+++ b/regress/roff/esc/comment.out_ascii
@@ -0,0 +1,19 @@
+ROFF-ESC-COMMENT(1) General Commands Manual ROFF-ESC-COMMENT(1)
+
+NNAAMMEE
+ rrooffff--eesscc--ccoommmmeenntt - roff(7) comments
+
+DDEESSCCRRIIPPTTIIOONN
+ text line continuation
+
+ macro line continuation: [--ff _f_i_l_e]
+
+ whitespace at the end of an input line
+
+ text line with comment
+
+ continuation requested by a comment
+
+ Surpisingly, the sequence \" does not start a comment.
+
+OpenBSD May 1, 2022 OpenBSD