X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=ast.h;h=bae07db39ec85c13481a10ecec947ece7f0c7ce8;hp=9b554214361258d9ddebf140e5107ccdaee7466f;hb=5007fd7f7150addee29bfc5077fc8b25c1288d59;hpb=e464cc1ea66ef3ab33226c58ac4ad2ed79fa6eb8 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,