From c73e96ff916209d74e2be9bd7d8de3758685ce4d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 2 Apr 2024 13:08:06 -0400 Subject: Add comparison operator <> and array method to sort by a custom comparison function --- ast.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ast.h') diff --git a/ast.h b/ast.h index 2fd55250..658f44c5 100644 --- a/ast.h +++ b/ast.h @@ -44,6 +44,7 @@ typedef enum { BINOP_POWER=100, BINOP_MULT, BINOP_DIVIDE, BINOP_MOD, BINOP_MOD1, BINOP_PLUS, BINOP_MINUS, BINOP_CONCAT, BINOP_LSHIFT, BINOP_RSHIFT, BINOP_MIN, BINOP_MAX, BINOP_EQ, BINOP_NE, BINOP_LT, BINOP_LE, BINOP_GT, BINOP_GE, + BINOP_CMP, BINOP_AND, BINOP_OR, BINOP_XOR, } binop_e; -- cgit v1.2.3