summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.c2
-rw-r--r--man.c2
-rw-r--r--mdoc.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 296bb5e6..d7bac760 100644
--- a/main.c
+++ b/main.c
@@ -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;
diff --git a/man.c b/man.c
index e9774da1..f015720c 100644
--- a/man.c
+++ b/man.c
@@ -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));
}
diff --git a/mdoc.c b/mdoc.c
index 3d77fa0b..8d3ba02f 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -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));
}