=================================================================== RCS file: /cvs/mandoc/term.h,v retrieving revision 1.10 retrieving revision 1.13 diff -u -p -r1.10 -r1.13 --- mandoc/term.h 2009/02/25 17:02:47 1.10 +++ mandoc/term.h 2009/03/02 12:09:32 1.13 @@ -1,4 +1,4 @@ -/* $Id: term.h,v 1.10 2009/02/25 17:02:47 kristaps Exp $ */ +/* $Id: term.h,v 1.13 2009/03/02 12:09:32 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -21,6 +21,8 @@ #include "mdoc.h" +#define INDENT 6 + __BEGIN_DECLS struct termp { @@ -51,9 +53,10 @@ struct termpair { int count; }; -#define TERMPAIR_SETFLAG(p, fl) \ +#define TERMPAIR_SETFLAG(termp, p, fl) \ do { \ assert(! (TERMPAIR_FLAG & (p)->type)); \ + (termp)->flags |= (fl); \ (p)->flag = (fl); \ (p)->type |= TERMPAIR_FLAG; \ } while (0)