summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-19 17:02:58 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-19 17:02:58 +0000
commit4d0e00fc396f69ea4575cca04855817cbf289670 (patch)
treee722af6824f2dd2609f6df0ee9b5b3da4f0ad6be /mdoc.h
parentefab70236b25559a1c5375d7071cbd2c4f4a5bd1 (diff)
downloadmandoc-4d0e00fc396f69ea4575cca04855817cbf289670.tar.gz
mandoc-4d0e00fc396f69ea4575cca04855817cbf289670.tar.zst
mandoc-4d0e00fc396f69ea4575cca04855817cbf289670.zip
Removed unnecessary test cases (most were for visual).
Finally fixed scope-rewinding (MDOC_VALID).
Diffstat (limited to 'mdoc.h')
-rw-r--r--mdoc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/mdoc.h b/mdoc.h
index 5163041a..929e991b 100644
--- a/mdoc.h
+++ b/mdoc.h
@@ -1,4 +1,4 @@
-/* $Id: mdoc.h,v 1.25 2009/01/17 16:15:27 kristaps Exp $ */
+/* $Id: mdoc.h,v 1.26 2009/01/19 17:02:58 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -385,6 +385,9 @@ struct mdoc_node {
int line;
int pos;
int tok;
+ int flags;
+#define MDOC_VALID (1 << 0)
+#define MDOC_ACTED (1 << 1)
enum mdoc_type type;
union mdoc_data data;
};