summaryrefslogtreecommitdiffstatshomepage
path: root/libmdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-14 12:55:22 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-14 12:55:22 +0000
commitae7348914a6e3613b79a674a717da0186553c7e7 (patch)
tree9cd9a97ff1a8afe9a83e0353979e82e8abd30c9f /libmdoc.h
parent644e8f757e50094673a0aa3ee6e5c3528ffcdf47 (diff)
downloadmandoc-ae7348914a6e3613b79a674a717da0186553c7e7.tar.gz
mandoc-ae7348914a6e3613b79a674a717da0186553c7e7.tar.zst
mandoc-ae7348914a6e3613b79a674a717da0186553c7e7.zip
Proper handling of quoted tab-separated column lists.
Diffstat (limited to 'libmdoc.h')
-rw-r--r--libmdoc.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/libmdoc.h b/libmdoc.h
index 0d3bad59..095eb5ed 100644
--- a/libmdoc.h
+++ b/libmdoc.h
@@ -1,4 +1,4 @@
-/* $Id: libmdoc.h,v 1.42 2010/05/13 06:22:11 kristaps Exp $ */
+/* $Id: libmdoc.h,v 1.43 2010/05/14 12:55:22 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -32,6 +32,7 @@ struct mdoc {
#define MDOC_LITERAL (1 << 1) /* in a literal scope */
#define MDOC_PBODY (1 << 2) /* in the document body */
#define MDOC_NEWLINE (1 << 3) /* first macro/text in a line */
+#define MDOC_PHRASELIT (1 << 4) /* in a literal within a phrase */
int pflags;
enum mdoc_next next;
struct mdoc_node *last;
@@ -186,9 +187,10 @@ enum margserr mdoc_args(struct mdoc *, int,
int *, char *, enum mdoct, char **);
enum margserr mdoc_zargs(struct mdoc *, int,
int *, char *, int, char **);
-#define ARGS_DELIM (1 << 1) /* See args(). */
-#define ARGS_TABSEP (1 << 2) /* See args(). */
-#define ARGS_NOWARN (1 << 3) /* See args(). */
+#define ARGS_DELIM (1 << 1)
+#define ARGS_TABSEP (1 << 2)
+#define ARGS_NOWARN (1 << 3)
+#define ARGS_PPHRASED (1 << 4)
int mdoc_macroend(struct mdoc *);