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

Merge racc from upstream repository.

* Support Ruby 2.4's frozen string literals.
  * Remove VCS revisions headers.
This commit is contained in:
Hiroshi SHIBATA 2020-02-27 13:33:51 +09:00
parent 9a422fc010
commit 229ba1215f
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
16 changed files with 36 additions and 48 deletions

View file

@ -1,6 +1,6 @@
#--
#
# $Id: 4c5f4311663b6d03050953d64d6a0e7905ff2216 $
#
#
# Copyright (c) 1999-2006 Minero Aoki
#
@ -198,7 +198,7 @@ module Racc
def mkmapexp(arr)
i = ii = 0
as = arr.size
map = ''
map = String.new
maxdup = RE_DUP_MAX
curr = nil
while i < as