diff options
author | Yuri Pankov <yuri.pankov@nexenta.com> | 2018-08-09 15:17:53 +0300 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2018-08-10 16:17:24 +0000 |
commit | 6640c13beae5a8b03718dc6b7a9cda5dd6ab9024 (patch) | |
tree | bc4d8bf1793720d673715e41a87e0089ebdd9c4e /usr/src/cmd/mandoc/tree.c | |
parent | 9fd537180d8c7ca186c4842f6262016f5e418d10 (diff) | |
download | illumos-joyent-6640c13beae5a8b03718dc6b7a9cda5dd6ab9024.tar.gz |
9718 update mandoc to 1.14.4
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/cmd/mandoc/tree.c')
-rw-r--r-- | usr/src/cmd/mandoc/tree.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/usr/src/cmd/mandoc/tree.c b/usr/src/cmd/mandoc/tree.c index 7d18b9d9e6..b9774e1cd8 100644 --- a/usr/src/cmd/mandoc/tree.c +++ b/usr/src/cmd/mandoc/tree.c @@ -1,7 +1,7 @@ -/* $Id: tree.c,v 1.77 2017/07/08 14:51:05 schwarze Exp $ */ +/* $Id: tree.c,v 1.78 2018/04/11 17:11:13 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> - * Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org> + * Copyright (c) 2013,2014,2015,2017,2018 Ingo Schwarze <schwarze@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -115,6 +115,9 @@ print_mdoc(const struct roff_node *n, int indent) case ROFFT_TEXT: t = "text"; break; + case ROFFT_COMMENT: + t = "comment"; + break; case ROFFT_TBL: break; case ROFFT_EQN: @@ -126,6 +129,7 @@ print_mdoc(const struct roff_node *n, int indent) switch (n->type) { case ROFFT_TEXT: + case ROFFT_COMMENT: p = n->string; break; case ROFFT_BODY: @@ -231,6 +235,9 @@ print_man(const struct roff_node *n, int indent) case ROFFT_TEXT: t = "text"; break; + case ROFFT_COMMENT: + t = "comment"; + break; case ROFFT_BLOCK: t = "block"; break; @@ -251,6 +258,7 @@ print_man(const struct roff_node *n, int indent) switch (n->type) { case ROFFT_TEXT: + case ROFFT_COMMENT: p = n->string; break; case ROFFT_ELEM: |