aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/eqn.c
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
commit8efd5a91fbe28e75b3e32b561fd71c6d1a0934c1 (patch)
tree9d11e9df4ac4c32ffc87d3f912c86265bdf36178 /eqn.c
parent08be124a58f07e4e41c58ea794f3e9eb04230e2b (diff)
downloadmandoc-8efd5a91fbe28e75b3e32b561fd71c6d1a0934c1.tar.gz
mandoc-8efd5a91fbe28e75b3e32b561fd71c6d1a0934c1.tar.zst
mandoc-8efd5a91fbe28e75b3e32b561fd71c6d1a0934c1.zip
Ignore "delim" command.
This fixes run-time assertions regarding "tok".
Diffstat (limited to 'eqn.c')
-rw-r--r--eqn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/eqn.c b/eqn.c
index c2e7aed2..fa65811e 100644
--- a/eqn.c
+++ b/eqn.c
@@ -1,4 +1,4 @@
-/* $Id: eqn.c,v 1.48 2014/10/10 08:44:24 kristaps Exp $ */
+/* $Id: eqn.c,v 1.49 2014/10/10 09:12:44 kristaps Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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);