summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compile.c b/compile.c
index 85f85ca300..b778bbd98f 100644
--- a/compile.c
+++ b/compile.c
@@ -2334,6 +2334,8 @@ defined_expr(rb_iseq_t *iseq, LINK_ANCHOR *ret,
case NODE_STR:
case NODE_LIT:
case NODE_ZARRAY:
+ case NODE_AND:
+ case NODE_OR:
estr = "expression";
break;