summaryrefslogtreecommitdiffstats
path: root/mdoc.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-19 17:02:58 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-19 17:02:58 +0000
commitd427476d5c4b9bd0804fa51647671e6b18e07afa (patch)
tree675c6fd8ece9ed2898161248449bf80d77307b30 /mdoc.c
parentdd2076332ac7deafb5fe4ca97b255ce8964654fd (diff)
downloadmandoc-d427476d5c4b9bd0804fa51647671e6b18e07afa.tar.gz
Removed unnecessary test cases (most were for visual).
Finally fixed scope-rewinding (MDOC_VALID).
Diffstat (limited to 'mdoc.c')
-rw-r--r--mdoc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdoc.c b/mdoc.c
index b56f62c2..e6c1c424 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -725,6 +725,7 @@ argdup(size_t argsz, const struct mdoc_arg *args)
}
+/* FIXME: deprecate. */
char *
mdoc_node2a(struct mdoc_node *node)
{
@@ -741,6 +742,7 @@ mdoc_node2a(struct mdoc_node *node)
(void)xstrlcat(buf, node->data.text.string, 64);
else
(void)xstrlcat(buf, mdoc_macronames[node->tok], 64);
+ (void)xstrlcat(buf, "'", 64);
return(buf);
}