=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mdoc_term.c,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- src/usr.bin/mandoc/mdoc_term.c 2009/07/26 01:59:46 1.38 +++ src/usr.bin/mandoc/mdoc_term.c 2009/07/26 23:32:26 1.39 @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.38 2009/07/26 01:59:46 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.39 2009/07/26 23:32:26 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -358,6 +358,13 @@ npair.ppair = pair; npair.flag = 0; npair.count = 0; + + /* + * Note on termpair. This allows a pre function to set a termp + * flag that is automatically unset after the body, but before + * the post function. Thus, if a pre uses a termpair flag, it + * must be reapplied in the post for use. + */ if (MDOC_TEXT != node->type) { if (termacts[node->tok].pre)