aboutsummaryrefslogtreecommitdiffstats
path: root/src/parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.h')
-rw-r--r--src/parse.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parse.h b/src/parse.h
index 09eed9f..b9f2ceb 100644
--- a/src/parse.h
+++ b/src/parse.h
@@ -9,6 +9,8 @@
#define PARSE_DEFTYPE_MAX_LEN 32
+/* very important these stay in order.
+ * things like ">= PARSE_TYPE_ARRAY_BOOL" used */
enum parse_type_e {
PARSE_TYPE_BOOL = 0,
PARSE_TYPE_STRING = 1,
@@ -57,6 +59,7 @@ struct parse_deftype_s {
char name[TOK_MAX_LEN];
size_t line;
size_t col;
+ bool is_used;
bool is_union;
unsigned member_list_len;
enum parse_type_e member_type_list[PARSE_DEFTYPE_MAX_LEN];