=================================================================== RCS file: /cvs/mandoc/eqn.c,v retrieving revision 1.48 retrieving revision 1.50 diff -u -p -r1.48 -r1.50 --- mandoc/eqn.c 2014/10/10 08:44:24 1.48 +++ mandoc/eqn.c 2014/10/10 14:02:02 1.50 @@ -1,4 +1,4 @@ -/* $Id: eqn.c,v 1.48 2014/10/10 08:44:24 kristaps Exp $ */ +/* $Id: eqn.c,v 1.50 2014/10/10 14:02:02 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * @@ -537,10 +537,7 @@ eqn_box_alloc(struct eqn_node *ep, struct eqn_box *par bp->expectargs = UINT_MAX; bp->size = ep->gsize; - assert(NULL != parent); - if (NULL != parent->first) { - assert(NULL != parent->last); parent->last->next = bp; bp->prev = parent->last; } else @@ -687,6 +684,7 @@ again: ep->data[(int)ep->cur], NULL, 0)) EQN_MSG(MANDOCERR_EQNEOF, ep); break; + case (EQN_TOK_DELIM): case (EQN_TOK_GFONT): if (NULL == eqn_nextrawtok(ep, NULL)) { EQN_MSG(MANDOCERR_EQNSYNT, ep);