=================================================================== RCS file: /cvs/docbook2mdoc/node.h,v retrieving revision 1.14 retrieving revision 1.16 diff -u -p -r1.14 -r1.16 --- docbook2mdoc/node.h 2019/04/09 01:39:09 1.14 +++ docbook2mdoc/node.h 2019/04/11 04:23:22 1.16 @@ -1,4 +1,4 @@ -/* $Id: node.h,v 1.14 2019/04/09 01:39:09 schwarze Exp $ */ +/* $Id: node.h,v 1.16 2019/04/11 04:23:22 schwarze Exp $ */ /* * Copyright (c) 2014 Kristaps Dzonsons * Copyright (c) 2019 Ingo Schwarze @@ -207,8 +207,6 @@ struct pattr { struct pnode { enum nodeid node; /* Node type. */ char *b; /* String value. */ - char *real; /* Storage for "b". */ - size_t bsz; /* strlen(b) */ int spc; /* Whitespace before this node. */ struct pnode *parent; /* Parent node or NULL. */ struct pnodeq childq; /* Queue of children. */ @@ -222,9 +220,10 @@ struct pnode { struct ptree { struct pnode *root; /* The document element. */ int flags; -#define TREE_FAIL (1 << 0) /* A fatal parse error occurred. */ -#define TREE_EQN (1 << 1) /* The document needs inline eqn(7). */ -#define TREE_CLOSED (1 << 2) /* The document element was closed. */ +#define TREE_ERROR (1 << 0) /* A parse error occurred. */ +#define TREE_WARN (1 << 1) /* A parser warning occurred. */ +#define TREE_EQN (1 << 2) /* The document needs inline eqn(7). */ +#define TREE_CLOSED (1 << 3) /* The document element was closed. */ };