X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/974dbdc2d409238ee7e08680361e91683a986c41..57d713154a86ae733a986dfc0f7e95a3bc7917c3:/mdoc_action.c diff --git a/mdoc_action.c b/mdoc_action.c index 1beef02c..844e1bf6 100644 --- a/mdoc_action.c +++ b/mdoc_action.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_action.c,v 1.39 2009/09/24 15:01:06 kristaps Exp $ */ +/* $Id: mdoc_action.c,v 1.41 2009/09/25 13:03:25 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -934,6 +934,7 @@ order_rs(int t) } +/* ARGSUSED */ static int post_rs(POST_ARGS) { @@ -943,6 +944,7 @@ post_rs(POST_ARGS) if (MDOC_BLOCK != n->type) return(1); + assert(n->body->child); for (next = NULL, nn = n->body->child->next; nn; nn = next) { o = order_rs(nn->tok);