logical and, logical or

This commit is contained in:
Josh Wolfe
2017-09-20 21:37:56 -07:00
parent 05c1a8b3cc
commit 4c8443d96d
3 changed files with 22 additions and 8 deletions

View File

@@ -14,8 +14,8 @@
static const char *bin_op_str(BinOpType bin_op) {
switch (bin_op) {
case BinOpTypeInvalid: return "(invalid)";
case BinOpTypeBoolOr: return "||";
case BinOpTypeBoolAnd: return "&&";
case BinOpTypeBoolOr: return "or";
case BinOpTypeBoolAnd: return "and";
case BinOpTypeCmpEq: return "==";
case BinOpTypeCmpNotEq: return "!=";
case BinOpTypeCmpLessThan: return "<";