From 25fbc886669f4ce82ccdc546ebb79c3fa98dc90a Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 27 Jun 2020 23:13:58 +0900 Subject: [PATCH] Removed non-ASCII code to suppress warnings by localized compilers --- compile.c | 4 ++-- 1 file 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)); }