X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=ast.h;h=bae07db39ec85c13481a10ecec947ece7f0c7ce8;hb=68ca2c496298573553f0cf98d2cf556c25b591ee;hp=9b554214361258d9ddebf140e5107ccdaee7466f;hpb=e464cc1ea66ef3ab33226c58ac4ad2ed79fa6eb8;p=xonotic%2Fgmqcc.git diff --git a/ast.h b/ast.h index 9b55421..bae07db 100644 --- a/ast.h +++ b/ast.h @@ -177,6 +177,7 @@ struct ast_value_s int cvq; /* const/var qualifier */ bool isfield; /* this declares a field */ + bool isimm; /* an immediate, not just const */ bool hasvalue; union { double vfloat; @@ -238,7 +239,7 @@ struct ast_binary_s ast_expression *left; ast_expression *right; ast_binary_ref refs; - + }; ast_binary* ast_binary_new(lex_ctx ctx, int op,