diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-02 23:48:19 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-02 23:48:19 +0000 |
commit | 56db51154e503662dc8c9cfed83c0bc0172a3f82 (patch) | |
tree | 95b7ad594c05dbe72ec6e2c2cec8bbbc787bcb47 /mdoc_man.c | |
parent | 8a1e7c36cb8b9ca64c677d1ff9d786c9e46fd7b0 (diff) | |
download | mandoc-56db51154e503662dc8c9cfed83c0bc0172a3f82.tar.gz mandoc-56db51154e503662dc8c9cfed83c0bc0172a3f82.tar.zst mandoc-56db51154e503662dc8c9cfed83c0bc0172a3f82.zip |
Third step towards parser unification:
Replace struct mdoc_meta and struct man_meta by a unified struct roff_meta.
Written of the train from London to Exeter on the way to p2k15.
Diffstat (limited to 'mdoc_man.c')
-rw-r--r-- | mdoc_man.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdoc_man.c,v 1.90 2015/04/02 22:48:17 schwarze Exp $ */ +/* $Id: mdoc_man.c,v 1.91 2015/04/02 23:48:20 schwarze Exp $ */ /* * Copyright (c) 2011-2015 Ingo Schwarze <schwarze@openbsd.org> * @@ -30,7 +30,7 @@ #include "out.h" #include "main.h" -#define DECL_ARGS const struct mdoc_meta *meta, struct roff_node *n +#define DECL_ARGS const struct roff_meta *meta, struct roff_node *n struct manact { int (*cond)(DECL_ARGS); /* DON'T run actions */ @@ -547,7 +547,7 @@ man_man(void *arg, const struct man *man) void man_mdoc(void *arg, const struct mdoc *mdoc) { - const struct mdoc_meta *meta; + const struct roff_meta *meta; struct roff_node *n; meta = mdoc_meta(mdoc); |