mojoshader_internal.h
changeset 620 1c4cf996004e
parent 612 72ccfe69eaf1
child 625 bfb4016d9404
--- a/mojoshader_internal.h	Sat Feb 14 01:45:32 2009 -0500
+++ b/mojoshader_internal.h	Sat Feb 14 02:47:17 2009 -0500
@@ -375,6 +375,14 @@
 struct Preprocessor;
 typedef struct Preprocessor Preprocessor;
 
+typedef struct Conditional
+{
+    Token type;
+    int linenum;
+    int skipping;
+    struct Conditional *next;
+} Conditional;
+
 typedef struct IncludeState
 {
     const char *filename;
@@ -385,6 +393,7 @@
     const unsigned char *lexer_marker;
     unsigned int bytes_left;
     unsigned int line;
+    Conditional *conditional_stack;
     struct IncludeState *next;
 } IncludeState;