X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=ast.h;h=9b7e5587f9cd6e11912cd439b9be72e4c290490a;hp=d3dfdb21273ab1bc56e18ac491a6dd9428969db5;hb=988b4b49606724ef4275a25d8ea95fdc2792ee51;hpb=216330a7e27ad50d67b12ca76ba00f1c557913d7 diff --git a/ast.h b/ast.h index d3dfdb2..9b7e558 100644 --- a/ast.h +++ b/ast.h @@ -52,7 +52,6 @@ typedef struct ast_switch_s ast_switch; typedef struct ast_label_s ast_label; typedef struct ast_goto_s ast_goto; typedef struct ast_argpipe_s ast_argpipe; -typedef struct ast_intrinsic_s ast_intrinsic; enum { TYPE_ast_node, /* 0 */ @@ -76,8 +75,7 @@ enum { TYPE_ast_switch, /* 18 */ TYPE_ast_label, /* 19 */ TYPE_ast_goto, /* 20 */ - TYPE_ast_argpipe, /* 21 */ - TYPE_ast_intrinsic /* 22 */ + TYPE_ast_argpipe /* 21 */ }; #define ast_istype(x, t) ( ((ast_node*)x)->nodetype == (TYPE_##t) ) @@ -253,7 +251,7 @@ struct ast_binary_s ast_expression *left; ast_expression *right; ast_binary_ref refs; - + bool right_first; }; ast_binary* ast_binary_new(lex_ctx_t ctx, int op,