diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-04 21:59:30 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-04 21:59:30 +0000 |
commit | c4cc3f2226e67300ea3cb40c67e4d619a5a9d45a (patch) | |
tree | 187d3a0be486e7895a24356d932133bb90e59241 /mdoc.h | |
parent | a678be049e5af47b549a64dc1c273f0f0974bf0d (diff) | |
download | mandoc-c4cc3f2226e67300ea3cb40c67e4d619a5a9d45a.tar.gz mandoc-c4cc3f2226e67300ea3cb40c67e4d619a5a9d45a.tar.zst mandoc-c4cc3f2226e67300ea3cb40c67e4d619a5a9d45a.zip |
Cache column sizes and char pointer into mdoc_bl. Finally get rid of
the loops here and there to track down the MDOC_Column arguments.
Diffstat (limited to 'mdoc.h')
-rw-r--r-- | mdoc.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdoc.h,v 1.99 2010/07/02 15:03:14 kristaps Exp $ */ +/* $Id: mdoc.h,v 1.100 2010/07/04 21:59:30 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -303,6 +303,8 @@ struct mdoc_bl { const char *offs; /* -offset */ enum mdoc_list type; /* -tag, -enum, etc. */ int comp; /* -compact */ + size_t ncols; /* -column arg count */ + const char **cols; /* -column val ptr */ }; struct mdoc_bf { |