diff options
-rw-r--r-- | main.c | 2 | ||||
-rw-r--r-- | man.c | 2 | ||||
-rw-r--r-- | mdoc.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -574,7 +574,7 @@ pset(const char *buf, int pos, struct curparse *curp, * default to -man, which is more lenient. */ - if (buf[0] == '.') { + if ('.' == buf[0] || '\'' == buf[0]) { for (i = 1; buf[i]; i++) if (' ' != buf[i] && '\t' != buf[i]) break; @@ -151,7 +151,7 @@ int man_parseln(struct man *m, int ln, char *buf) { - return('.' == *buf || '\'' == *buf ? + return(('.' == *buf || '\'' == *buf) ? man_pmacro(m, ln, buf) : man_ptext(m, ln, buf)); } @@ -291,7 +291,7 @@ mdoc_parseln(struct mdoc *m, int ln, char *buf) return(0); m->flags |= MDOC_NEWLINE; - return('.' == *buf ? + return(('.' == *buf || '\'' == *buf) ? mdoc_pmacro(m, ln, buf) : mdoc_ptext(m, ln, buf)); } |