[expression parser] use the operator pointer right inside the expression node

This commit is contained in:
Allen Webster
2021-10-09 20:30:05 -07:00
parent 838283c706
commit 39e10cd246
5 changed files with 19 additions and 24 deletions
+1 -4
View File
@@ -792,10 +792,7 @@ struct MD_Expr
struct MD_Expr *parent;
struct MD_Expr *left;
struct MD_Expr *right;
MD_b32 is_op;
// TODO(allen): this should be MD_ExprOpr*
MD_u32 op_id;
void *op_ptr;
MD_ExprOpr *op;
MD_Node *md_node;
};