summaryrefslogtreecommitdiffstats
path: root/out.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-11-08 09:23:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-11-08 09:23:35 +0000
commita1201fe80c4bf325fb1ce81548694934732b6c37 (patch)
tree43e6ab16ea5792cdeea5d7cc156b9111d49086c1 /out.h
parent9e4a5a7319fd71af5f0d3655cc0dc0d37df2bc4b (diff)
downloadmandoc-a1201fe80c4bf325fb1ce81548694934732b6c37.tar.gz
a2roffdeco() now supports \s escapes.
Diffstat (limited to 'out.h')
-rw-r--r--out.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/out.h b/out.h
index 822f9d12..9c6b3356 100644
--- a/out.h
+++ b/out.h
@@ -43,6 +43,7 @@ enum roffdeco {
DECO_ITALIC,
DECO_ROMAN,
DECO_PREVIOUS,
+ DECO_SIZE,
DECO_MAX
};
@@ -53,15 +54,20 @@ struct roffsu {
};
#define SCALE_INVERT(p) \
- do { (p)->scale = -(p)->scale; } while (/*CONSTCOND*/0)
+ do { (p)->scale = -(p)->scale; } \
+ while (/* CONSTCOND */ 0)
+
#define SCALE_VS_INIT(p, v) \
do { (p)->unit = SCALE_VS; \
(p)->scale = (v); \
- (p)->pt = 0; } while (/*CONSTCOND*/0)
+ (p)->pt = 0; } \
+ while (/* CONSTCOND */ 0)
+
#define SCALE_HS_INIT(p, v) \
do { (p)->unit = SCALE_BU; \
(p)->scale = (v); \
- (p)->pt = 0; } while (/*CONSTCOND*/0)
+ (p)->pt = 0; } \
+ while (/* CONSTCOND */ 0)
int a2roffsu(const char *,
struct roffsu *, enum roffscale);