summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mdoc.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2009-06-18 23:34:54 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2009-06-18 23:34:54 +0000
commitae0852645c4d11974f281b6094a4f3c98f47be56 (patch)
treeb20421eb174321dc8781085c13c4609dbd2b09b1 /usr.bin/mandoc/mdoc.7
parent2ede31567194bba6d6fb98ea76ee669dc67c1d26 (diff)
sync to 1.7.19: improved comment handling
Diffstat (limited to 'usr.bin/mandoc/mdoc.7')
-rw-r--r--usr.bin/mandoc/mdoc.712
1 files changed, 11 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mdoc.7 b/usr.bin/mandoc/mdoc.7
index 8f589a1ce7e..689ed385203 100644
--- a/usr.bin/mandoc/mdoc.7
+++ b/usr.bin/mandoc/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.3 2009/06/18 01:19:02 schwarze Exp $
+.\" $Id: mdoc.7,v 1.4 2009/06/18 23:34:53 schwarze Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
.\"
@@ -78,6 +78,16 @@ or
.Sq \&.Bd \-unfilled
contexts.
.\" SUB-SECTION
+.Ss Comments
+Anything following a
+.Sq \e"
+delimiter is considered a comment (unless the
+.Sq \e
+itself has been escaped) and is ignored to the end of line.
+Furthermore, a macro line with only a control character
+.Sq \. ,
+optionally followed by whitespace, is ignored.
+.\" SUB-SECTION
.Ss Reserved Characters
Within a macro line, the following characters are reserved:
.Bl -tag -width 12n -offset XXXX -compact