From d5ccf1c0bec9df55e4d367508401ff960b26c27b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?b=CA=B0edoh=E2=82=82=20sw=C3=A9?= Date: Tue, 11 Jun 2024 16:00:32 +0500 Subject: [PATCH] Add :? as an operator --- src/compile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compile.c b/src/compile.c index 6ac0006..97db9c6 100644 --- a/src/compile.c +++ b/src/compile.c @@ -58,6 +58,7 @@ bool compile_isop(char* string) { else if (strcmp(string, "and") == 0) return true; else if (strcmp(string, "or") == 0) return true; else if (strcmp(string, "|") == 0) return true; + else if (strcmp(string, ":?") == 0) return true; else return false;