-/* $OpenBSD: mandoc.h,v 1.185 2017/07/06 22:58:44 schwarze Exp $ */
+/* $OpenBSD: mandoc.h,v 1.186 2017/07/07 19:39:17 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
};
enum eqn_boxt {
- EQN_ROOT, /* root of parse tree */
EQN_TEXT, /* text (number, variable, whatever) */
EQN_SUBEXPR, /* nested `eqn' subexpression */
EQN_LIST, /* list (braces, etc.) */
-/* $OpenBSD: tree.c,v 1.42 2017/07/05 15:03:20 schwarze Exp $ */
+/* $OpenBSD: tree.c,v 1.43 2017/07/07 19:39:17 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
t = NULL;
switch (ep->type) {
- case EQN_ROOT:
- t = "eqn-root";
- break;
case EQN_LIST:
t = "eqn-list";
break;