diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-08 09:23:35 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-08 09:23:35 +0000 |
commit | a1201fe80c4bf325fb1ce81548694934732b6c37 (patch) | |
tree | 43e6ab16ea5792cdeea5d7cc156b9111d49086c1 /out.h | |
parent | 9e4a5a7319fd71af5f0d3655cc0dc0d37df2bc4b (diff) | |
download | mandoc-a1201fe80c4bf325fb1ce81548694934732b6c37.tar.gz |
a2roffdeco() now supports \s escapes.
Diffstat (limited to 'out.h')
-rw-r--r-- | out.h | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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); |