aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-12 12:38:01 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-12 12:38:01 +0000
commite9ed9b35dc4fd863125a597aff030d991806984f (patch)
treea7b1d31fe327e49f2e1efc63d76f3cf1b8149f3a /mdoc.h
parentab3ccf15eb37629459a92cd73cea7a345c475754 (diff)
downloadmandoc-e9ed9b35dc4fd863125a597aff030d991806984f.tar.gz
mandoc-e9ed9b35dc4fd863125a597aff030d991806984f.tar.zst
mandoc-e9ed9b35dc4fd863125a597aff030d991806984f.zip
Cached `Bl -offset' into mdoc_bl. Removed erroneous "-offset defaults
to 6n if no value is specified" and added regression tests for `Bl' testing against the empty -offset argument.
Diffstat (limited to 'mdoc.h')
-rw-r--r--mdoc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdoc.h b/mdoc.h
index 24811c90..aaa81129 100644
--- a/mdoc.h
+++ b/mdoc.h
@@ -1,4 +1,4 @@
-/* $Id: mdoc.h,v 1.87 2010/06/12 12:10:55 kristaps Exp $ */
+/* $Id: mdoc.h,v 1.88 2010/06/12 12:38:01 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -279,6 +279,7 @@ struct mdoc_bd {
};
struct mdoc_bl {
+ const char *offs; /* -offset */
enum mdoc_list type; /* -tag, -enum, etc. */
int comp; /* -compact */
};