mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix problem with rule calculation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3e16f5a3f0
commit
11edb88f70
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…
Reference in a new issue