From ecde8066e9fefa3134fec10222f61596f76ae94d Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 18 Jul 2010 22:55:06 +0000 Subject: Throw out a2roffdeco() in out.c for a readable version. The prior one was completely unmaintainable. The new one is both readable and quite similar to mandoc_special(), which in future versions will easily allow throwing-away of unsupported escapes (such as \m). It's also a fair bit smaller. DECO_SIZE has been removed: this crap, like colours, will not be supported. mandoc_special() also has #if 0'd switch branches for ALL groff.7 escapes and some lint fixes. --- out.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'out.h') diff --git a/out.h b/out.h index 9b432d59..fd1e5bd8 100644 --- a/out.h +++ b/out.h @@ -1,4 +1,4 @@ -/* $Id: out.h,v 1.12 2010/06/25 19:50:23 kristaps Exp $ */ +/* $Id: out.h,v 1.13 2010/07/18 22:55:06 kristaps Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons * @@ -43,7 +43,6 @@ enum roffdeco { DECO_ITALIC, DECO_ROMAN, DECO_PREVIOUS, - DECO_SIZE, DECO_NOSPACE, DECO_FONT, /* font */ DECO_FFONT, /* font family */ -- cgit v1.2.3-56-ge451