diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-17 23:57:06 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-17 23:57:06 +0000 |
commit | cdb13dfdb74f836f6d3b1fd54bc0b06dcc4d2ef5 (patch) | |
tree | 770d842591d5e9e62ecaec4c83ec4613a2a7684a /libmdoc.h | |
parent | bbeff922272e1f11c46dc4ae581934e3d0108e34 (diff) | |
download | mandoc-cdb13dfdb74f836f6d3b1fd54bc0b06dcc4d2ef5.tar.gz mandoc-cdb13dfdb74f836f6d3b1fd54bc0b06dcc4d2ef5.tar.zst mandoc-cdb13dfdb74f836f6d3b1fd54bc0b06dcc4d2ef5.zip |
Increase performance by stashing the list type in struct mdoc_node.
This will eventually be used so that mdoc_macro can known whether to
dump list line arguments into the body (`Bl -column' overflowing).
Remove a2list() and arg_listtype() because of this.
Diffstat (limited to 'libmdoc.h')
-rw-r--r-- | libmdoc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: libmdoc.h,v 1.48 2010/05/17 22:11:42 kristaps Exp $ */ +/* $Id: libmdoc.h,v 1.49 2010/05/17 23:57:06 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -177,7 +177,7 @@ int mdoc_valid_pre(struct mdoc *, const struct mdoc_node *); int mdoc_valid_post(struct mdoc *); int mdoc_action_pre(struct mdoc *, - const struct mdoc_node *); + struct mdoc_node *); int mdoc_action_post(struct mdoc *); enum margverr mdoc_argv(struct mdoc *, int, enum mdoct, struct mdoc_arg **, int *, char *); |