From 127029dfaf617f304350eb1202db85c428fda879 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 7 Jul 2010 15:04:54 +0000 Subject: 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. --- mdoc_term.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mdoc_term.c') diff --git a/mdoc_term.c b/mdoc_term.c index 41bdf128..d3b753a5 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.172 2010/07/06 10:54:05 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.173 2010/07/07 15:04:54 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * Copyright (c) 2010 Ingo Schwarze @@ -31,7 +31,6 @@ #include "mandoc.h" #include "out.h" #include "term.h" -#include "regs.h" #include "mdoc.h" #include "chars.h" #include "main.h" -- cgit v1.2.3