Commit graph

8 commits

Author SHA1 Message Date
Jeremy Evans
7e8fa06022 Always issue deprecation warning when calling Regexp.new with 3rd positional argument
Previously, only certain values of the 3rd argument triggered a
deprecation warning.

First step for fix for bug #18797.  Support for the 3rd argument
will be removed after the release of Ruby 3.2.

Fix minor fallout discovered by the tests.

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-12-22 11:50:26 -08:00
Nobuyoshi Nakada
1cc64a5514 [ruby/racc] Fix flag to Regexp.new
Probably intended to pass encoding "none".

65cd26efd8
2022-06-16 21:43:53 +09:00
Aaron Patterson
b036a44e57
[ruby/racc] Remove Object monkey patch
I don't think we need this monkey patch anymore, so lets remove it!

464485e912
2021-06-25 17:26:27 +09:00
Hiroshi SHIBATA
5a19b492da [ruby/racc] Use the Ruby license. Fix #134
7c881cd548
2020-11-10 21:20:31 +09:00
Yusuke Endoh
2fed5f0ad8 lib/racc/statetransitiontable.rb: Make the racc output stable
Racc calls `Array#sort!` to build a state transition table. As
`Array#sort!` is not a stable sort, the output may differ depending upon
the environment.

This changeset makes the sort stable manually, and updates all
expectation files.
2020-11-10 07:49:19 +09:00
Hiroshi SHIBATA
229ba1215f
Merge racc from upstream repository.
* Support Ruby 2.4's frozen string literals.
  * Remove VCS revisions headers.
2020-02-27 13:33:51 +09:00
Nobuyoshi Nakada
fb41246ddb
Stop parsing copyright notices as document [ci skip] 2020-01-28 23:00:13 +09:00
Hiroshi SHIBATA
1a2546c2be Backport racc-1.4.15 from upstream. 2019-06-19 18:17:25 +09:00