diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-03-19 21:51:20 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-03-19 21:51:20 +0000 |
commit | 8ab1f57b8dbe6a9799dafa1181cae85b1e51b101 (patch) | |
tree | 1b9ce5554777a29d2110ac56f793e070aac3dc51 /libmandoc.h | |
parent | 3868c0e69fda640025525113006a7ab108fa0fef (diff) | |
download | mandoc-8ab1f57b8dbe6a9799dafa1181cae85b1e51b101.tar.gz |
Generalize the mparse_alloc() and roff_alloc() functions by giving
them an "options" argument, replacing the existing "inttype" and
"quick" arguments, preparing for a future MPARSE_SO option.
Store this argument in struct mparse and struct roff, replacing the
existing "inttype", "parsetype", and "quick" members.
No functional change except one tiny cosmetic fix in roff_TH().
Diffstat (limited to 'libmandoc.h')
-rw-r--r-- | libmandoc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmandoc.h b/libmandoc.h index c3a71304..d10fed38 100644 --- a/libmandoc.h +++ b/libmandoc.h @@ -1,7 +1,7 @@ /* $Id$ */ /* * Copyright (c) 2009, 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> - * Copyright (c) 2013 Ingo Schwarze <schwarze@openbsd.org> + * Copyright (c) 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -66,7 +66,7 @@ int man_addspan(struct man *, const struct tbl_span *); int man_addeqn(struct man *, const struct eqn *); void roff_free(struct roff *); -struct roff *roff_alloc(enum mparset, struct mparse *, int); +struct roff *roff_alloc(struct mparse *, int); void roff_reset(struct roff *); enum rofferr roff_parseln(struct roff *, int, char **, size_t *, int, int *); |