=================================================================== RCS file: /cvs/mandoc/man_macro.c,v retrieving revision 1.48 retrieving revision 1.51 diff -u -p -r1.48 -r1.51 --- mandoc/man_macro.c 2010/06/26 16:07:08 1.48 +++ mandoc/man_macro.c 2010/11/30 15:36:28 1.51 @@ -1,6 +1,6 @@ -/* $Id: man_macro.c,v 1.48 2010/06/26 16:07:08 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 @@ -83,6 +83,7 @@ const struct man_macro __man_macros[MAN_MAX] = { { in_line_eoln, 0 }, /* Vb */ { in_line_eoln, 0 }, /* Ve */ { in_line_eoln, 0 }, /* AT */ + { in_line_eoln, 0 }, /* in */ }; const struct man_macro * const man_macros = __man_macros; @@ -122,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); } @@ -132,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; @@ -457,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); @@ -468,8 +463,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 ?