=================================================================== RCS file: /cvs/mandoc/term.h,v retrieving revision 1.10 retrieving revision 1.12 diff -u -p -r1.10 -r1.12 --- mandoc/term.h 2009/02/25 17:02:47 1.10 +++ mandoc/term.h 2009/03/01 13:06:49 1.12 @@ -1,4 +1,4 @@ -/* $Id: term.h,v 1.10 2009/02/25 17:02:47 kristaps Exp $ */ +/* $Id: term.h,v 1.12 2009/03/01 13:06:49 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -51,9 +51,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)