1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/racc] Fix flag to Regexp.new

Probably intended to pass encoding "none".

https://github.com/ruby/racc/commit/65cd26efd8
This commit is contained in:
Nobuyoshi Nakada 2022-06-16 19:52:51 +09:00 committed by git
parent 714a4942fd
commit 1cc64a5514

View file

@ -216,7 +216,7 @@ module Racc
end
i = ii
end
Regexp.compile(map, 'n')
Regexp.compile(map, nil, 'n')
end
def set_table(entries, dummy, tbl, chk, ptr)