diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-05 15:03:27 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-05 15:03:27 +0000 |
commit | acb30a24128863f2d57ac9aa20a93c8dd243b80b (patch) | |
tree | 46474fe953b663899c9a6f1594eb3c8d197277ac /tree.c | |
parent | 7db3d6e9ae386fc036279f2166b0ececc6cd6d27 (diff) | |
download | mandoc-acb30a24128863f2d57ac9aa20a93c8dd243b80b.tar.gz mandoc-acb30a24128863f2d57ac9aa20a93c8dd243b80b.tar.zst mandoc-acb30a24128863f2d57ac9aa20a93c8dd243b80b.zip |
The EQN_LISTONE box type is pointless.
Simplify by just using EQN_LIST with expectargs = 1.
Noticed while investigating a bug report from bentley@.
No functional change.
Diffstat (limited to 'tree.c')
-rw-r--r-- | tree.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: tree.c,v 1.74 2017/04/24 23:06:18 schwarze Exp $ */ +/* $Id: tree.c,v 1.75 2017/07/05 15:03:27 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -316,7 +316,6 @@ print_box(const struct eqn_box *ep, int indent) case EQN_ROOT: t = "eqn-root"; break; - case EQN_LISTONE: case EQN_LIST: t = "eqn-list"; break; |