summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-16 19:13:28 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-16 19:13:28 +0000
commitbf5cc7adff53d67064937f93d51005e425746df8 (patch)
tree2a31290923a4aca3c8628070f8a9f0598b851be2 /man.c
parent4c30e6f109f12c3f061caa13660a9a30fc807db2 (diff)
downloadmandoc-bf5cc7adff53d67064937f93d51005e425746df8.tar.gz
Modernised comment handling: text following \" is thrown away before
either parser is invoked. Single-dot lines correctly handled. This confirms with both new- and old-groff. "Comment" subsection added to mdoc.7 and man.7.
Diffstat (limited to 'man.c')
-rw-r--r--man.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/man.c b/man.c
index 9074d7f8..9744cc8e 100644
--- a/man.c
+++ b/man.c
@@ -324,10 +324,6 @@ man_pmacro(struct man *m, int ln, char *buf)
ppos = i;
- if (buf[i] && '\\' == buf[i])
- if (buf[i + 1] && '\"' == buf[i + 1])
- goto out;
-
/* Copy the first word into a nil-terminated buffer. */
for (j = 0; j < 4; j++, i++) {