=================================================================== RCS file: /cvs/mandoc/libmdoc.h,v retrieving revision 1.84 retrieving revision 1.86 diff -u -p -r1.84 -r1.86 --- mandoc/libmdoc.h 2014/04/20 16:46:04 1.84 +++ mandoc/libmdoc.h 2014/07/09 11:31:43 1.86 @@ -1,4 +1,4 @@ -/* $Id: libmdoc.h,v 1.84 2014/04/20 16:46:04 schwarze Exp $ */ +/* $Id: libmdoc.h,v 1.86 2014/07/09 11:31:43 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2013 Ingo Schwarze @@ -25,7 +25,7 @@ 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 */ @@ -41,6 +41,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;