=================================================================== RCS file: /cvs/mandoc/libmdoc.h,v retrieving revision 1.84 retrieving revision 1.87 diff -u -p -r1.84 -r1.87 --- mandoc/libmdoc.h 2014/04/20 16:46:04 1.84 +++ mandoc/libmdoc.h 2014/07/30 21:18:24 1.87 @@ -1,4 +1,4 @@ -/* $Id: libmdoc.h,v 1.84 2014/04/20 16:46:04 schwarze Exp $ */ +/* $Id: libmdoc.h,v 1.87 2014/07/30 21:18:24 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2013 Ingo Schwarze @@ -25,10 +25,9 @@ enum mdoc_next { struct mdoc { struct mparse *parse; /* parse pointer */ - char *defos; /* default argument for .Os */ + const char *defos; /* default argument for .Os */ int quick; /* abort parse early */ int flags; /* parse flags */ -#define MDOC_HALT (1 << 0) /* error in parse: halt */ #define MDOC_LITERAL (1 << 1) /* in a literal scope */ #define MDOC_PBODY (1 << 2) /* in the document body */ #define MDOC_NEWLINE (1 << 3) /* first macro/text in a line */ @@ -41,6 +40,7 @@ struct mdoc { enum mdoc_next next; /* where to put the next node */ struct mdoc_node *last; /* the last node parsed */ struct mdoc_node *first; /* the first node parsed */ + struct mdoc_node *last_es; /* the most recent Es node */ struct mdoc_meta meta; /* document meta-data */ enum mdoc_sec lastnamed; enum mdoc_sec lastsec;