summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-08-29 11:28:09 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-08-29 11:28:09 +0000
commit5b800687386963e8ac308abec4e60dace556292c (patch)
tree1f2c26dfe80429ff3782be9881718ccf4ad4a8f2
parent97a51cb241aac04f0ee17560bc9c91327c02c377 (diff)
downloadmandoc-5b800687386963e8ac308abec4e60dace556292c.tar.gz
Remove overstrike `\o'. This isn't the best solution because we really
should be printing the contents, but for the time being, this is good enough.
-rw-r--r--man.72
-rw-r--r--mandoc.c4
-rw-r--r--mdoc.72
-rw-r--r--out.c2
4 files changed, 8 insertions, 2 deletions
diff --git a/man.7 b/man.7
index e587e094..75eaffe4 100644
--- a/man.7
+++ b/man.7
@@ -944,6 +944,8 @@ The
.Pq string length ,
.Sq \ek
.Pq horizontal position marker ,
+.Sq \eo
+.Pq text overstrike ,
and
.Sq \es
.Pq text size
diff --git a/mandoc.c b/mandoc.c
index c93ec25d..cd84d400 100644
--- a/mandoc.c
+++ b/mandoc.c
@@ -59,8 +59,6 @@ mandoc_special(char *p)
/* FALLTHROUGH */
case ('R'):
/* FALLTHROUGH */
- case ('o'):
- /* FALLTHROUGH */
case ('N'):
/* FALLTHROUGH */
case ('l'):
@@ -199,6 +197,8 @@ mandoc_special(char *p)
return(*p ? (int)(p - sv) : 0);
}
break;
+ case ('o'):
+ /* FALLTHROUGH */
case ('w'):
if ('\'' == *p++) {
term = '\'';
diff --git a/mdoc.7 b/mdoc.7
index 358a1c38..7cb57bf1 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -2852,6 +2852,8 @@ The
.Pq string length ,
.Sq \ek
.Pq horizontal position marker ,
+.Sq \eo
+.Pq text overstrike ,
and
.Sq \es
.Pq text size
diff --git a/out.c b/out.c
index 99288f57..09a7b989 100644
--- a/out.c
+++ b/out.c
@@ -315,6 +315,8 @@ a2roffdeco(enum roffdeco *d, const char **word, size_t *sz)
} else
lim = 1;
break;
+ case ('o'):
+ /* FALLTHROUGH */
case ('w'):
if ('\'' == wp[i++]) {
term = '\'';