source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Ignore "delim" command.
@ 2014-10-10  9:12 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2014-10-10  9:12 UTC (permalink / raw)
  To: source

Log Message:
-----------
Ignore "delim" command.
This fixes run-time assertions regarding "tok".

Modified Files:
--------------
    mdocml:
        eqn.c

Revision Data
-------------
Index: eqn.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/eqn.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -Leqn.c -Leqn.c -u -p -r1.48 -r1.49
--- eqn.c
+++ 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);
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-10  9:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-10  9:12 mdocml: Ignore "delim" command kristaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).