diff options
author | 2009-06-18 23:34:53 +0000 | |
---|---|---|
committer | 2009-06-18 23:34:53 +0000 | |
commit | 099cfa7e56e57812e6eec3b42c30adf7903a66f2 (patch) | |
tree | ab3dd27c51fcc6d44f5eff6cea11949767029bf7 /usr.bin/mandoc/man.c | |
parent | fix previous: start playback when at least one block of data has (diff) | |
download | wireguard-openbsd-099cfa7e56e57812e6eec3b42c30adf7903a66f2.tar.xz wireguard-openbsd-099cfa7e56e57812e6eec3b42c30adf7903a66f2.zip |
sync to 1.7.19: improved comment handling
Diffstat (limited to 'usr.bin/mandoc/man.c')
-rw-r--r-- | usr.bin/mandoc/man.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/usr.bin/mandoc/man.c b/usr.bin/mandoc/man.c index 403b20c0fdb..a1e4578e7ac 100644 --- a/usr.bin/mandoc/man.c +++ b/usr.bin/mandoc/man.c @@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.2 2009/06/14 23:00:57 schwarze Exp $ */ +/* $Id: man.c,v 1.3 2009/06/18 23:34:53 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -24,12 +24,12 @@ #include "libman.h" const char *const __man_macronames[MAN_MAX] = { - "\\\"", "TH", "SH", "SS", + "br", "TH", "SH", "SS", "TP", "LP", "PP", "P", "IP", "HP", "SM", "SB", "BI", "IB", "BR", "RB", "R", "B", "I", "IR", - "RI", "br", "na", "i" + "RI", "na", "i" }; const char * const *man_macronames = __man_macronames; @@ -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++) { |