aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit59221c379641a8d3a180c8b0cca2022c763c2a6b (patch)
tree6c5d517b8524c16e1b33aaeea7477c395876ea30 /mdoc_argv.c
parentd1f1f8d600d26e5bb01736ad53269bed555043d5 (diff)
downloadmandoc-59221c379641a8d3a180c8b0cca2022c763c2a6b.tar.gz
mandoc-59221c379641a8d3a180c8b0cca2022c763c2a6b.tar.zst
mandoc-59221c379641a8d3a180c8b0cca2022c763c2a6b.zip
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c
index 092ab652..f68e55f5 100644
--- a/mdoc_argv.c
+++ b/mdoc_argv.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_argv.c,v 1.61 2010/12/22 11:15:16 kristaps Exp $ */
+/* $Id: mdoc_argv.c,v 1.62 2010/12/24 14:00:40 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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;
}