aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-07-05 15:03:27 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-07-05 15:03:27 +0000
commitacb30a24128863f2d57ac9aa20a93c8dd243b80b (patch)
tree46474fe953b663899c9a6f1594eb3c8d197277ac /mandoc.h
parent7db3d6e9ae386fc036279f2166b0ececc6cd6d27 (diff)
downloadmandoc-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 'mandoc.h')
-rw-r--r--mandoc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index 2c7cdaee..4310f12c 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.241 2017/07/03 17:33:05 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.242 2017/07/05 15:03:27 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -338,7 +338,6 @@ enum eqn_boxt {
EQN_TEXT, /* text (number, variable, whatever) */
EQN_SUBEXPR, /* nested `eqn' subexpression */
EQN_LIST, /* list (braces, etc.) */
- EQN_LISTONE, /* singleton list */
EQN_PILE, /* vertical pile */
EQN_MATRIX /* pile of piles */
};