summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2014-10-10 09:12:44 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2014-10-10 09:12:44 +0000
commite767e4295d99150a1b512a64ebe39e63cdb68146 (patch)
treed4ad5fd9e3119128dd5b2cc908ad59791d41f4bf
parent56fe72aebb64bb54a4bbaf3edf6673253fafdf24 (diff)
downloadmandoc-e767e4295d99150a1b512a64ebe39e63cdb68146.tar.gz
Ignore "delim" command.
This fixes run-time assertions regarding "tok".
-rw-r--r--eqn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eqn.c b/eqn.c
index e1d63e65..5e1330e5 100644
--- a/eqn.c
+++ b/eqn.c
@@ -687,6 +687,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);