From 5e8dea30d01017a3651dedc1f6eda3d2b1e6f8d1 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 22 Dec 2010 11:15:16 +0000 Subject: 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. --- mdoc_argv.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mdoc_argv.c') diff --git a/mdoc_argv.c b/mdoc_argv.c index 3a36e4e9..092ab652 100644 --- a/mdoc_argv.c +++ b/mdoc_argv.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_argv.c,v 1.60 2010/09/13 20:15:43 schwarze Exp $ */ +/* $Id: mdoc_argv.c,v 1.61 2010/12/22 11:15:16 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -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; } -- cgit v1.2.3-56-ge451