From acb30a24128863f2d57ac9aa20a93c8dd243b80b Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 5 Jul 2017 15:03:27 +0000 Subject: 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. --- tree.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tree.c') diff --git a/tree.c b/tree.c index 989a2c3c..9ecaddb4 100644 --- a/tree.c +++ b/tree.c @@ -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 * Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze @@ -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; -- cgit v1.2.3