diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-23 15:41:09 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-23 15:41:09 +0000 |
commit | b657e31a9ec6631499c82ab01201bfb7db357ba3 (patch) | |
tree | b4d902aaa9d17e0684c61f1912c194589fb05bc1 /man_macro.c | |
parent | 858ffa5feefe929dcf0dabf5d771106577f1d9e7 (diff) | |
download | mandoc-b657e31a9ec6631499c82ab01201bfb7db357ba3.tar.gz |
-man linked to mandoc in documentation.
Diffstat (limited to 'man_macro.c')
-rw-r--r-- | man_macro.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/man_macro.c b/man_macro.c index 2bea77a8..05a95d22 100644 --- a/man_macro.c +++ b/man_macro.c @@ -56,8 +56,7 @@ man_macro(struct man *man, int tok, int line, man->next = MAN_NEXT_SIBLING; } - /* TODO: validate. */ - /* TODO: validate. */ + /* TODO: validate & actions. */ man->last = n; man->next = MAN_NEXT_SIBLING; @@ -66,8 +65,17 @@ man_macro(struct man *man, int tok, int line, } -/* ARGSUSED */ int +man_macroend(struct man *m) +{ + + /* TODO: validate & actions. */ + return(1); +} + + +/* ARGSUSED */ +static int man_args(struct man *man, int line, int *pos, char *buf, char **v) { |