diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-27 12:41:02 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-27 12:41:02 +0000 |
commit | 96482854006a9cdd85cb178e59313f4d7edfe4ec (patch) | |
tree | eec8748897d6708025c7de6ac0e464cba8c0136d /mdoc.c | |
parent | 65468ee42d485b8372e1b89f1ce668498f00a1cb (diff) | |
download | mandoc-96482854006a9cdd85cb178e59313f4d7edfe4ec.tar.gz |
Disable in-line eqn processing for a bit.
Diffstat (limited to 'mdoc.c')
-rw-r--r-- | mdoc.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |