summaryrefslogtreecommitdiffstats
path: root/mdoc_argv.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-22 11:15:16 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-22 11:15:16 +0000
commit544a766eb06bf03fc9ae275a02575c4dc54c8d32 (patch)
tree5094d1a10b9a3243e5713b32cd76f383eb2dd04d /mdoc_argv.c
parent89a32203ddc128f3448f944bcb1a47eac62514d9 (diff)
downloadmandoc-544a766eb06bf03fc9ae275a02575c4dc54c8d32.tar.gz
Implement reference-counted version of original union mdoc_data. This
simplifies clean-up and allows for more types without extra hassle. Also made in-line literal types in -T[x]html use CODE instead of SPAN to match how literal blocks use PRE.
Diffstat (limited to 'mdoc_argv.c')
-rw-r--r--mdoc_argv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c
index cb13ea88..3762c876 100644
--- a/mdoc_argv.c
+++ b/mdoc_argv.c
@@ -361,8 +361,7 @@ mdoc_args(struct mdoc *m, int line, int *pos,
if (MDOC_Bl == n->tok)
break;
- assert(n->data.Bl);
- if (n && LIST_column == n->data.Bl->type) {
+ if (n && LIST_column == n->norm->d.Bl.type) {
fl |= ARGS_TABSEP;
fl &= ~ARGS_DELIM;
}