summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-06-27 23:13:58 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-06-27 23:15:13 +0900
commit25fbc886669f4ce82ccdc546ebb79c3fa98dc90a (patch)
treebdbaa5fcc05317d400d4a430177cc11c9499f104 /compile.c
parentb3fa158d1c4d8e03b8dc04f1e4f9940a8a4ef44c (diff)
Removed non-ASCII code to suppress warnings by localized compilers
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compile.c b/compile.c
index e6411a2a9e..e481406155 100644
--- a/compile.c
+++ b/compile.c
@@ -6271,7 +6271,7 @@ iseq_compile_array_deconstruct(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NO
ADD_INSN1(ret, line, putobject, ID2SYM(rb_intern("deconstruct")));
ADD_SEND(ret, line, idRespond_to, INT2FIX(1));
- // Cache the result of respond_to? (in case it's false is stays there, if true — it's overwritten after #deconstruct)
+ // Cache the result of respond_to? (in case it's false is stays there, if true - it's overwritten after #deconstruct)
if (deconstructed_pos) {
ADD_INSN1(ret, line, setn, INT2FIX(deconstructed_pos + 1));
}
@@ -6280,7 +6280,7 @@ iseq_compile_array_deconstruct(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NO
ADD_SEND(ret, line, rb_intern("deconstruct"), INT2FIX(0));
- // Cache the result (if it's cacheable — currently, only top-level array patterns)
+ // Cache the result (if it's cacheable - currently, only top-level array patterns)
if (deconstructed_pos) {
ADD_INSN1(ret, line, setn, INT2FIX(deconstructed_pos));
}