aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-12 12:10:55 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-12 12:10:55 +0000
commitc4604222386ea3939b89bb2b59c1bf69f126c06d (patch)
tree7cca59064db3c8b86048fe3557ecb3df5d117b45 /mdoc.h
parent305a1c805ebbdca0c2e2de3a301a7f6759d2e200 (diff)
downloadmandoc-c4604222386ea3939b89bb2b59c1bf69f126c06d.tar.gz
mandoc-c4604222386ea3939b89bb2b59c1bf69f126c06d.tar.zst
mandoc-c4604222386ea3939b89bb2b59c1bf69f126c06d.zip
Moved `Bl -compact' into cached data. This allowed the removal of
scanning the argv list in print_bvspace(), and thus the parent pointer.
Diffstat (limited to 'mdoc.h')
-rw-r--r--mdoc.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/mdoc.h b/mdoc.h
index 741c63f1..24811c90 100644
--- a/mdoc.h
+++ b/mdoc.h
@@ -1,4 +1,4 @@
-/* $Id: mdoc.h,v 1.86 2010/06/12 11:58:22 kristaps Exp $ */
+/* $Id: mdoc.h,v 1.87 2010/06/12 12:10:55 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -273,13 +273,14 @@ enum mdoc_disp {
};
struct mdoc_bd {
- const char *offs;
- enum mdoc_disp type;
- int comp;
+ const char *offs; /* -offset */
+ enum mdoc_disp type; /* -ragged, etc. */
+ int comp; /* -compact */
};
struct mdoc_bl {
- enum mdoc_list type;
+ enum mdoc_list type; /* -tag, -enum, etc. */
+ int comp; /* -compact */
};
/* Node in AST. */