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
@ -89,6 +89,8 @@ module SM
|
|||||||
end
|
end
|
||||||
|
|
||||||
def accept_rule(am, fragment)
|
def accept_rule(am, fragment)
|
||||||
|
size = fragment.param
|
||||||
|
size = 10 if size > 10
|
||||||
@res << Rule.new(size)
|
@res << Rule.new(size)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user