X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=ir.h;h=973f89d45a49b20a0ef1613f874ebcb753fe88ef;hb=294870c5baa192f9452c00adb585d363d173a7b7;hp=05b7447d2e2daa391553b4400bae360f8a3a20ec;hpb=d4483bfda63dac509144741c1f0e11d68d989b66;p=xonotic%2Fgmqcc.git diff --git a/ir.h b/ir.h index 05b7447..973f89d 100644 --- a/ir.h +++ b/ir.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012 + * Copyright (C) 2012, 2013 * Wolfgang Bumiller * * Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -22,7 +22,7 @@ */ #ifndef GMQCC_IR_HDR #define GMQCC_IR_HDR - +#include "gmqcc.h" /* ir_value */ typedef struct @@ -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);