summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-27 12:41:02 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-27 12:41:02 +0000
commit96482854006a9cdd85cb178e59313f4d7edfe4ec (patch)
treeeec8748897d6708025c7de6ac0e464cba8c0136d /roff.c
parent65468ee42d485b8372e1b89f1ce668498f00a1cb (diff)
downloadmandoc-96482854006a9cdd85cb178e59313f4d7edfe4ec.tar.gz
Disable in-line eqn processing for a bit.
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/roff.c b/roff.c
index 4e24bcbc..0d8a1c5b 100644
--- a/roff.c
+++ b/roff.c
@@ -166,6 +166,8 @@ static const char *roff_getstrn(const struct roff *,
const char *, size_t);
static enum rofferr roff_line_ignore(ROFF_ARGS);
static enum rofferr roff_nr(ROFF_ARGS);
+static void roff_openeqn(struct roff *, const char *,
+ int, int, const char *);
static enum rofft roff_parse(struct roff *, const char *, int *);
static enum rofferr roff_parsetext(char *);
static void roff_res(struct roff *,
@@ -1258,14 +1260,16 @@ roff_T_(ROFF_ARGS)
return(ROFF_IGN);
}
-int
+#if 0
+static int
roff_closeeqn(struct roff *r)
{
return(r->eqn && ROFF_EQN == eqn_end(&r->eqn) ? 1 : 0);
}
+#endif
-void
+static void
roff_openeqn(struct roff *r, const char *name, int line,
int offs, const char *buf)
{