mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Backport fix to add_rules to 1.8 (sorry, NaHi)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
892e443cc8
commit
7d4e7e32cd
1 changed files with 2 additions and 0 deletions
|
@ -89,6 +89,8 @@ module SM
|
|||
end
|
||||
|
||||
def accept_rule(am, fragment)
|
||||
size = fragment.param
|
||||
size = 10 if size > 10
|
||||
@res << Rule.new(size)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue