From 495895571c4a70fbf6e228700c3d58f4e7560839 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 18 Jul 2011 07:46:41 +0000 Subject: 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. --- libman.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libman.h') diff --git a/libman.h b/libman.h index 30c159f7..8cf5e372 100644 --- a/libman.h +++ b/libman.h @@ -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 * @@ -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, \ -- cgit v1.2.3