X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/4dde5d7bbdceeec0032e163e7a8e8cac3233d659..26da7f05bc7b6fd332991f1c1a4801a32bfe439f:/man_macro.c?ds=sidebyside diff --git a/man_macro.c b/man_macro.c index 531a8f58..e866d81d 100644 --- a/man_macro.c +++ b/man_macro.c @@ -1,6 +1,6 @@ -/* $Id: man_macro.c,v 1.49 2010/07/22 23:03:15 kristaps Exp $ */ +/* $Id: man_macro.c,v 1.51 2010/11/30 15:36:28 kristaps Exp $ */ /* - * Copyright (c) 2008, 2009 Kristaps Dzonsons + * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -123,8 +123,6 @@ man_unscope(struct man *m, const struct man_node *n, return(0); if ( ! man_valid_post(m)) return(0); - if ( ! man_action_post(m)) - return(0); m->last = m->last->parent; assert(m->last); } @@ -133,8 +131,6 @@ man_unscope(struct man *m, const struct man_node *n, return(0); if ( ! man_valid_post(m)) return(0); - if ( ! man_action_post(m)) - return(0); m->next = MAN_ROOT == m->last->type ? MAN_NEXT_CHILD : MAN_NEXT_SIBLING; @@ -458,8 +454,6 @@ in_line_eoln(MACRO_PROT_ARGS) break; if ( ! man_valid_post(m)) return(0); - if ( ! man_action_post(m)) - return(0); } assert(m->last); @@ -470,8 +464,6 @@ in_line_eoln(MACRO_PROT_ARGS) if (m->last->type != MAN_ROOT && ! man_valid_post(m)) return(0); - if (m->last->type != MAN_ROOT && ! man_action_post(m)) - return(0); m->next = MAN_ROOT == m->last->type ? MAN_NEXT_CHILD : MAN_NEXT_SIBLING;