diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-18 07:46:41 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-18 07:46:41 +0000 |
commit | 495895571c4a70fbf6e228700c3d58f4e7560839 (patch) | |
tree | 76be9f83a27d07a076566eb9b1c97c25ccd5db6c /libman.h | |
parent | f8842cd771b741905db8b54ed39c155f3a4ffa51 (diff) | |
download | mandoc-495895571c4a70fbf6e228700c3d58f4e7560839.tar.gz mandoc-495895571c4a70fbf6e228700c3d58f4e7560839.tar.zst mandoc-495895571c4a70fbf6e228700c3d58f4e7560839.zip |
Make `struct roff' be passed into libmdoc and libman upon creation.
This is required for supporting in-line equations. While here, push
registers properly into roff and add an set/get/mod interface.
Diffstat (limited to 'libman.h')
-rw-r--r-- | libman.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: libman.h,v 1.51 2011/03/23 15:33:57 kristaps Exp $ */ +/* $Id: libman.h,v 1.52 2011/07/18 07:46:41 kristaps Exp $ */ /* * Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -37,6 +37,7 @@ struct man { struct man_node *first; /* the first parsed node */ struct man_meta meta; /* document meta-data */ struct regset *regs; /* registers */ + struct roff *roff; }; #define MACRO_PROT_ARGS struct man *m, \ |