summaryrefslogtreecommitdiffstats
path: root/libmdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-08-20 08:59:12 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-08-20 08:59:12 +0000
commit715664aab2d78bfca25251802a317ec3d515ddf3 (patch)
treea31f6a986b9b1346b4afc83b2ce05ed14084c00f /libmdoc.h
parent077b83403c555a1a2160ae7dfb7439e5ae84c96d (diff)
downloadmandoc-715664aab2d78bfca25251802a317ec3d515ddf3.tar.gz
Delimiter whitespace is correctly flagged (required some special handling).
Diffstat (limited to 'libmdoc.h')
-rw-r--r--libmdoc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libmdoc.h b/libmdoc.h
index 9ebcf2ff..22233a76 100644
--- a/libmdoc.h
+++ b/libmdoc.h
@@ -171,14 +171,16 @@ void mdoc_argv_free(struct mdoc_arg *);
int mdoc_args(struct mdoc *, int,
int *, char *, int, char **);
int mdoc_zargs(struct mdoc *, int,
- int *, char *, char **);
+ int *, char *, int, char **);
+#define ARGS_DELIM (1 << 1)
+#define ARGS_TABSEP (1 << 2)
+#define ARGS_NOWARN (1 << 3)
#define ARGS_ERROR (-1)
#define ARGS_EOLN (0)
#define ARGS_WORD (1)
#define ARGS_PUNCT (2)
#define ARGS_QWORD (3)
#define ARGS_PHRASE (4)
-
int mdoc_macroend(struct mdoc *);
__END_DECLS