Skip to content

Commit

Permalink
Fix flag to Regexp.new
Browse files Browse the repository at this point in the history
Probably intended to pass encoding "none".
  • Loading branch information
nobu committed Jun 16, 2022
1 parent 341e581 commit 65cd26e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/racc/statetransitiontable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def mkmapexp(arr)
end
i = ii
end
Regexp.compile(map, 'n')
Regexp.compile(map, nil, 'n')
end

def set_table(entries, dummy, tbl, chk, ptr)
Expand Down

0 comments on commit 65cd26e

Please sign in to comment.