]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.h
TYPE_NIL, builder->nil, ast_value_codegen for TYPE_NIL
[xonotic/gmqcc.git] / ir.h
diff --git a/ir.h b/ir.h
index 9f8e1fa4e9f0aec9657c88865aede0d3f42344e8..4a1778e9d11d0b9e011745546802560e1feb10a2 100644 (file)
--- a/ir.h
+++ b/ir.h
@@ -322,7 +322,9 @@ typedef struct ir_builder_s
     const char **filenames;
     qcint       *filestrings;
     /* we cache the #IMMEDIATE string here */
-    qcint str_immediate;
+    qcint        str_immediate;
+    /* there should just be this one nil */
+    ir_value    *nil;
 } ir_builder;
 
 ir_builder* ir_builder_new(const char *modulename);