=================================================================== RCS file: /cvs/mandoc/roff.c,v retrieving revision 1.68 retrieving revision 1.70 diff -u -p -r1.68 -r1.70 --- mandoc/roff.c 2010/05/15 18:43:59 1.68 +++ mandoc/roff.c 2010/05/15 20:51:40 1.70 @@ -1,4 +1,4 @@ -/* $Id: roff.c,v 1.68 2010/05/15 18:43:59 kristaps Exp $ */ +/* $Id: roff.c,v 1.70 2010/05/15 20:51:40 kristaps Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons * @@ -76,7 +76,6 @@ const struct roffmac roffs[ROFF_MAX] = { { ".", NULL, roff_new_close }, }; -static void roff_alloc1(struct roff *); static void roff_free1(struct roff *); static enum rofft roff_hash_find(const char *); static int roffnode_push(struct roff *, @@ -153,20 +152,11 @@ roff_free1(struct roff *r) } -static void -roff_alloc1(struct roff *r) -{ - - /* Do nothing for now. */ -} - - void roff_reset(struct roff *r) { roff_free1(r); - roff_alloc1(r); } @@ -305,7 +295,7 @@ roff_new_close(ROFF_ARGS) if ( ! (*r->msg)(MANDOCERR_NOSCOPE, r->data, ln, ppos, NULL)) return(ROFF_ERR); */ - return(ROFF_CONT); + return(ROFF_IGN); }