]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.h
gcc lost it's magic analyzer and now complains about uninitialized stuff... <sadface>
[xonotic/gmqcc.git] / ir.h
diff --git a/ir.h b/ir.h
index 825f6a7123db4893b40f23aacc0532e9feb2eef1..a7f41d0c79f80da57d137305ef09b81a7b317d4f 100644 (file)
--- a/ir.h
+++ b/ir.h
@@ -52,6 +52,7 @@ typedef struct ir_value_s {
         float    vfloat;
         int      vint;
         vector   vvec;
+        int32_t  ivec[3];
         char    *vstring;
         struct ir_value_s *vpointer;
         struct ir_function_s *vfunc;
@@ -308,6 +309,8 @@ typedef struct ir_builder_s
 
     MEM_VECTOR_MAKE(const char*, filenames);
     MEM_VECTOR_MAKE(qcint,       filestrings);
+    /* we cache the #IMMEDIATE string here */
+    qcint str_immediate;
 } ir_builder;
 
 ir_builder* ir_builder_new(const char *modulename);