summaryrefslogtreecommitdiffstats
path: root/mdoc_argv.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-24 14:00:40 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-24 14:00:40 +0000
commit8d5ca2330a9d86880ee07d6fecf0befff8d445f4 (patch)
treeab6a339e99d6fcdd827aaecfee738abc32150be5 /mdoc_argv.c
parent390e9bb2eebe070ac0a97222e307f0c172517e47 (diff)
downloadmandoc-8d5ca2330a9d86880ee07d6fecf0befff8d445f4.tar.gz
As per schwarze@'s suggestions, roll back the refcount structure in
favour of a simpler shim for normalised data in the node allocation and free routines. This removes the need to bump and copy references within validator handlers, removes a pointer redirect, and also kills the refcount structure itself. Data is assumed to "live" either in a MDOC_BLOCK or MDOC_ELEM and is copied accordingly.
Diffstat (limited to 'mdoc_argv.c')
-rw-r--r--mdoc_argv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c
index 3762c876..9617fcc8 100644
--- a/mdoc_argv.c
+++ b/mdoc_argv.c
@@ -361,7 +361,7 @@ mdoc_args(struct mdoc *m, int line, int *pos,
if (MDOC_Bl == n->tok)
break;
- if (n && LIST_column == n->norm->d.Bl.type) {
+ if (n && LIST_column == n->norm->Bl.type) {
fl |= ARGS_TABSEP;
fl &= ~ARGS_DELIM;
}