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 | 41fb753e38e93d33d278d5b1ec34681285bc19f6 (patch) | |
tree | 2be9a755fa73b41757423c0d66fdab29f84b21a1 /roff.c | |
parent | b15d8ed53a62b1e387e33a9390c1c9d858862601 (diff) | |
download | mandoc-41fb753e38e93d33d278d5b1ec34681285bc19f6.tar.gz mandoc-41fb753e38e93d33d278d5b1ec34681285bc19f6.tar.zst mandoc-41fb753e38e93d33d278d5b1ec34681285bc19f6.zip |
Disable in-line eqn processing for a bit.
Diffstat (limited to 'roff.c')
-rw-r--r-- | roff.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: roff.c,v 1.155 2011/07/27 07:32:26 kristaps Exp $ */ +/* $Id: roff.c,v 1.156 2011/07/27 12:41:02 kristaps Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org> @@ -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) { |