ruby-changes:72188
From: Nobuyoshi <ko1@a...>
Date: Thu, 16 Jun 2022 21:44:11 +0900 (JST)
Subject: [ruby-changes:72188] 1cc64a5514 (master): [ruby/racc] Fix flag to `Regexp.new`
https://git.ruby-lang.org/ruby.git/commit/?id=1cc64a5514 From 1cc64a5514309920c48874bbccc87102b69c2abf Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 16 Jun 2022 19:52:51 +0900 Subject: [ruby/racc] Fix flag to `Regexp.new` Probably intended to pass encoding "none". https://github.com/ruby/racc/commit/65cd26efd8 --- lib/racc/statetransitiontable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/racc/statetransitiontable.rb b/lib/racc/statetransitiontable.rb index 4d54287258..cae411c98b 100644 --- a/lib/racc/statetransitiontable.rb +++ b/lib/racc/statetransitiontable.rb @@ -216,7 +216,7 @@ module Racc https://github.com/ruby/ruby/blob/trunk/lib/racc/statetransitiontable.rb#L216 end i = ii end - Regexp.compile(map, 'n') + Regexp.compile(map, nil, 'n') end def set_table(entries, dummy, tbl, chk, ptr) -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/