aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tree.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-02-09 09:05:52 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-02-09 09:05:52 +0000
commit7e1515051811beb532cd49dfdf82f778dde90e81 (patch)
tree167361db4dfd08c4d04082b1b45294ae5c0146b3 /tree.c
parentc4585f51e1879dba09462098517aec738f246342 (diff)
downloadmandoc-7e1515051811beb532cd49dfdf82f778dde90e81.tar.gz
mandoc-7e1515051811beb532cd49dfdf82f778dde90e81.tar.zst
mandoc-7e1515051811beb532cd49dfdf82f778dde90e81.zip
Allow EQN data to be pushed down into libmdoc via mdoc_addeqn(). Only
the adding itself is implemented; equation data is not yet shown.
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tree.c b/tree.c
index 65652adb..fd2e6268 100644
--- a/tree.c
+++ b/tree.c
@@ -1,4 +1,4 @@
-/* $Id: tree.c,v 1.34 2011/02/06 22:02:58 kristaps Exp $ */
+/* $Id: tree.c,v 1.35 2011/02/09 09:05:52 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -132,7 +132,7 @@ print_mdoc(const struct mdoc_node *n, int indent)
case (MDOC_TBL):
break;
case (MDOC_EQN):
- p = "eqn";
+ p = n->eqn->data;
break;
case (MDOC_ROOT):
p = "root";