From b772d067401e789feb01542db6d402e98c357b68 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 12 Jan 2009 12:52:21 +0000 Subject: *** empty log message *** --- macro.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'macro.c') diff --git a/macro.c b/macro.c index 56da7aac..56d8bc83 100644 --- a/macro.c +++ b/macro.c @@ -1,4 +1,4 @@ -/* $Id: macro.c,v 1.31 2009/01/12 10:31:53 kristaps Exp $ */ +/* $Id: macro.c,v 1.32 2009/01/12 12:52:21 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -93,7 +93,7 @@ rewind_elem(struct mdoc *mdoc, int tok) if (MDOC_ELEM != n->type) n = n->parent; assert(MDOC_ELEM == n->type); - assert(tok == n->data.elem.tok); + assert(tok == n->tok); return(rewind_last(mdoc, n)); } @@ -111,7 +111,7 @@ rewind_body(struct mdoc *mdoc, int tok) for (n = mdoc->last; n; n = n->parent) { if (MDOC_BODY != n->type) continue; - if (tok == (t = n->data.head.tok)) + if (tok == (t = n->tok)) break; if ( ! (MDOC_EXPLICIT & mdoc_macros[t].flags)) continue; @@ -135,7 +135,7 @@ rewind_head(struct mdoc *mdoc, int tok) for (n = mdoc->last; n; n = n->parent) { if (MDOC_HEAD != n->type) continue; - if (tok == (t = n->data.head.tok)) + if (tok == (t = n->tok)) break; if ( ! (MDOC_EXPLICIT & mdoc_macros[t].flags)) continue; @@ -159,7 +159,7 @@ rewind_expblock(struct mdoc *mdoc, int tok) for ( ; n; n = n->parent) { if (MDOC_BLOCK != n->type) continue; - if (tok == (t = n->data.block.tok)) + if (tok == (t = n->tok)) break; if (MDOC_NESTED & mdoc_macros[t].flags) continue; @@ -183,7 +183,7 @@ rewind_impblock(struct mdoc *mdoc, int tok) for ( ; n; n = n->parent) { if (MDOC_BLOCK != n->type) continue; - if (tok == (t = n->data.block.tok)) + if (tok == (t = n->tok)) break; if ( ! (MDOC_EXPLICIT & mdoc_macros[t].flags)) continue; -- cgit v1.2.3