diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-18 22:55:06 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-18 22:55:06 +0000 |
commit | ecde8066e9fefa3134fec10222f61596f76ae94d (patch) | |
tree | c9b57ed485922c82f1614f871b8efc327f6e8595 /out.h | |
parent | 62a6f18a684aea51ece6b91ad1ce0a6c90149d87 (diff) | |
download | mandoc-ecde8066e9fefa3134fec10222f61596f76ae94d.tar.gz mandoc-ecde8066e9fefa3134fec10222f61596f76ae94d.tar.zst mandoc-ecde8066e9fefa3134fec10222f61596f76ae94d.zip |
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.
Diffstat (limited to 'out.h')
-rw-r--r-- | out.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 <kristaps@bsd.lv> * @@ -43,7 +43,6 @@ enum roffdeco { DECO_ITALIC, DECO_ROMAN, DECO_PREVIOUS, - DECO_SIZE, DECO_NOSPACE, DECO_FONT, /* font */ DECO_FFONT, /* font family */ |