summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.c2
-rw-r--r--roff.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/main.c b/main.c
index cfa2020e..dd9da74a 100644
--- a/main.c
+++ b/main.c
@@ -785,7 +785,7 @@ mmsg(enum mandocerr t, void *arg, int ln, int col, const char *msg)
cp = (struct curparse *)arg;
- fprintf(stderr, "%s:%d:%d: %s\n", cp->file, ln, col + 1, msg);
+ /*fprintf(stderr, "%s:%d:%d: %s\n", cp->file, ln, col + 1, msg);*/
return(1);
}
diff --git a/roff.c b/roff.c
index e79de28d..88f8f060 100644
--- a/roff.c
+++ b/roff.c
@@ -157,7 +157,7 @@ static void
roff_alloc1(struct roff *r)
{
- memset(r, 0, sizeof(struct roff));
+ /* Do nothing for now. */
}
@@ -301,9 +301,11 @@ static enum rofferr
roff_new_close(ROFF_ARGS)
{
+ /*
if ( ! (*r->msg)(MANDOCERR_NOSCOPE, r->data, ln, ppos, NULL))
return(ROFF_ERR);
- return(ROFF_IGN);
+ */
+ return(ROFF_CONT);
}