summaryrefslogtreecommitdiffstatshomepage
path: root/man_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-07-07 15:04:54 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-07-07 15:04:54 +0000
commit127029dfaf617f304350eb1202db85c428fda879 (patch)
tree2610c5b7406ae306b3004224f65f9f7711dbabad /man_term.c
parent449c8db7f7b1ef43a2c73734dcab0db5ab09b97a (diff)
downloadmandoc-127029dfaf617f304350eb1202db85c428fda879.tar.gz
mandoc-127029dfaf617f304350eb1202db85c428fda879.tar.zst
mandoc-127029dfaf617f304350eb1202db85c428fda879.zip
Re-constitution of `ds' symbol processing. First, push the
roff_getstr() family of functions into roff.c with the "first_string" directly in struct roff. Second, pre-process each line for reserved words in libroff, splicing and re-running a line if it has one (this allows defined symbols to be macros). Remove term.c's invocation of the roff_getstrn() function. Removed function documentation in roff.3 and added roff.7 `ds' documentation.
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/man_term.c b/man_term.c
index 65a6e7b4..fbd1c5d2 100644
--- a/man_term.c
+++ b/man_term.c
@@ -1,4 +1,4 @@
-/* $Id: man_term.c,v 1.78 2010/06/26 15:36:37 kristaps Exp $ */
+/* $Id: man_term.c,v 1.79 2010/07/07 15:04:54 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -28,7 +28,6 @@
#include "mandoc.h"
#include "out.h"
-#include "regs.h"
#include "man.h"
#include "term.h"
#include "chars.h"