Add :? as an operator

This commit is contained in:
bʰedoh₂ swé 2024-06-11 16:00:32 +05:00
parent a1d14e8cfa
commit d5ccf1c0be

View File

@ -58,6 +58,7 @@ bool compile_isop(char* string) {
else if (strcmp(string, "and") == 0) return true; else if (strcmp(string, "and") == 0) return true;
else if (strcmp(string, "or") == 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 if (strcmp(string, ":?") == 0) return true;
else return false; else return false;