summaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 9ebdaeb4b..0906919b9 100644
--- a/parse.y
+++ b/parse.y
@@ -9351,7 +9351,7 @@ rb_enc_symname2_p(const char *name, int len, rb_encoding *enc)
}
break;
}
- return *m ? Qfalse : Qtrue;
+ return m == e;
}
static ID