X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=ir.h;h=973f89d45a49b20a0ef1613f874ebcb753fe88ef;hp=05b7447d2e2daa391553b4400bae360f8a3a20ec;hb=654eceb33b73a0c81f1d6fa15d14ba60aa973d35;hpb=d4483bfda63dac509144741c1f0e11d68d989b66 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);