summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/roff.c b/roff.c
index 08d10ffb..fbfd6d8f 100644
--- a/roff.c
+++ b/roff.c
@@ -969,23 +969,9 @@ roffparseopts(struct rofftree *tree, int tok,
static int
roffdata(struct rofftree *tree, int space, char *buf)
{
- int tok;
if (0 == *buf)
return(1);
-
- if (-1 == (tok = rofftok_scan(buf))) {
- roff_err(tree, buf, "invalid character sequence");
- return(0);
- } else if (ROFFTok_MAX != tok) {
- if (ROFFTok_Null == tok) { /* FIXME */
- buf += 2;
- return(roffdata(tree, space, buf));
- }
- return((*tree->cb.rofftoken)
- (tree->arg, space != 0, tok));
- }
-
return((*tree->cb.roffdata)(tree->arg,
space != 0, tree->cur, buf));
}