=================================================================== RCS file: /cvs/docbook2mdoc/node.h,v retrieving revision 1.32 retrieving revision 1.33 diff -u -p -r1.32 -r1.33 --- docbook2mdoc/node.h 2019/04/21 14:48:11 1.32 +++ docbook2mdoc/node.h 2019/04/24 18:38:02 1.33 @@ -1,4 +1,4 @@ -/* $Id: node.h,v 1.32 2019/04/21 14:48:11 schwarze Exp $ */ +/* $Id: node.h,v 1.33 2019/04/24 18:38:02 schwarze Exp $ */ /* * Copyright (c) 2014 Kristaps Dzonsons * Copyright (c) 2019 Ingo Schwarze @@ -231,8 +231,10 @@ struct pattr { struct pnode { enum nodeid node; /* Node type. */ char *b; /* String value. */ - int spc; /* Whitespace before this node. */ struct pnode *parent; /* Parent node or NULL. */ + int flags; +#define NFLAG_LINE (1 << 0) /* New line before this node. */ +#define NFLAG_SPC (1 << 1) /* Whitespace before this node. */ struct pnodeq childq; /* Queue of children. */ struct pattrq attrq; /* Attributes of the node. */ TAILQ_ENTRY(pnode) child;