X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=gmqcc.h;fp=gmqcc.h;h=1c189599d0cf4dda3981db9bea2c6e2a0a8d7120;hp=48570ff7a6d0aa712385fd84fa98e437a79c877c;hb=f09c6a5d63faaad1b915868c461b658efd374a34;hpb=794396df792a4eba46ebbcfb364d4311c3a4ca72 diff --git a/gmqcc.h b/gmqcc.h index 48570ff..1c18959 100644 --- a/gmqcc.h +++ b/gmqcc.h @@ -1,6 +1,10 @@ #ifndef GMQCC_HDR #define GMQCC_HDR #include +#include +#include +#include +using std::move; #include #include #include @@ -259,7 +263,7 @@ int util_getline(char **, size_t *, FILE *); /* code.c */ /* Note: if you change the order, fix type_sizeof in ir.c */ -enum { +enum qc_type { TYPE_VOID , TYPE_STRING , TYPE_FLOAT , @@ -589,7 +593,7 @@ void compile_show_werrors(void); /* ir.c */ /* TODO: cleanup */ -enum store_types { +enum store_type { store_global, store_local, /* local, assignable for now, should get promoted later */ store_param, /* parameters, they are locals with a fixed position */