]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
ast_binary->right_first and an execution order check
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index d3dfdb21273ab1bc56e18ac491a6dd9428969db5..9b7e5587f9cd6e11912cd439b9be72e4c290490a 100644 (file)
--- 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,