summaryrefslogtreecommitdiff
path: root/glcpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'glcpp.h')
-rw-r--r--glcpp.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/glcpp.h b/glcpp.h
index 41fc2043d1..4459daa4f3 100644
--- a/glcpp.h
+++ b/glcpp.h
@@ -123,10 +123,16 @@ typedef struct skip_node {
struct skip_node *next;
} skip_node_t;
+typedef struct active_list {
+ const char *identifier;
+ token_node_t *marker;
+ struct active_list *next;
+} active_list_t;
+
struct glcpp_parser {
yyscan_t scanner;
struct hash_table *defines;
- string_list_t *active;
+ active_list_t *active;
int lexing_if;
int space_tokens;
int newline_as_space;