diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2014-10-10 09:12:44 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2014-10-10 09:12:44 +0000 |
commit | 8efd5a91fbe28e75b3e32b561fd71c6d1a0934c1 (patch) | |
tree | 9d11e9df4ac4c32ffc87d3f912c86265bdf36178 /eqn.c | |
parent | 08be124a58f07e4e41c58ea794f3e9eb04230e2b (diff) | |
download | mandoc-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |