From 41fb753e38e93d33d278d5b1ec34681285bc19f6 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 27 Jul 2011 12:41:02 +0000 Subject: Disable in-line eqn processing for a bit. --- mdoc.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'mdoc.c') diff --git a/mdoc.c b/mdoc.c index 4d3c5fb6..cdeb88bf 100644 --- a/mdoc.c +++ b/mdoc.c @@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.192 2011/07/27 07:09:41 kristaps Exp $ */ +/* $Id: mdoc.c,v 1.193 2011/07/27 12:41:02 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010 Ingo Schwarze @@ -97,7 +97,9 @@ static struct mdoc_node *node_alloc(struct mdoc *, int, int, enum mdoct, enum mdoc_type); static int node_append(struct mdoc *, struct mdoc_node *); +#if 0 static int mdoc_preptext(struct mdoc *, int, char *, int); +#endif static int mdoc_ptext(struct mdoc *, int, char *, int); static int mdoc_pmacro(struct mdoc *, int, char *, int); @@ -300,7 +302,7 @@ mdoc_parseln(struct mdoc *m, int ln, char *buf, int offs) return(mandoc_getcontrol(buf, &offs) ? mdoc_pmacro(m, ln, buf, offs) : - mdoc_preptext(m, ln, buf, offs)); + mdoc_ptext(m, ln, buf, offs)); } int @@ -651,6 +653,7 @@ mdoc_node_delete(struct mdoc *m, struct mdoc_node *p) mdoc_node_free(p); } +#if 0 /* * Pre-treat a text line. * Text lines can consist of equations, which must be handled apart from @@ -702,6 +705,7 @@ mdoc_preptext(struct mdoc *m, int line, char *buf, int offs) return(1); } +#endif /* * Parse free-form text, that is, a line that does not begin with the -- cgit v1.2.3-56-ge451