diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-02 03:48:07 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-02 03:48:07 +0000 |
commit | 7b965f63cfd7d1b9474221bad812a9d975b94b46 (patch) | |
tree | 8ffe9afac6db5a64ab38eb92dfd41deabe0271ff /libmdoc.h | |
parent | c9939e9971e983553a2f3f786d124427b6d4e16e (diff) | |
download | mandoc-7b965f63cfd7d1b9474221bad812a9d975b94b46.tar.gz mandoc-7b965f63cfd7d1b9474221bad812a9d975b94b46.tar.zst mandoc-7b965f63cfd7d1b9474221bad812a9d975b94b46.zip |
Implement the obsolete macros .En .Es .Fr .Ot for backward compatibility,
since this is hardly more complicated than explicitly ignoring them
as we did in the past. Of course, do not use them!
Diffstat (limited to 'libmdoc.h')
-rw-r--r-- | libmdoc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: libmdoc.h,v 1.84 2014/04/20 16:46:04 schwarze Exp $ */ +/* $Id: libmdoc.h,v 1.85 2014/07/02 03:48:07 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013 Ingo Schwarze <schwarze@openbsd.org> @@ -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; |