Mercurial > hg > Members > shinya > pyrect
diff pyrect/translator/cbc_grep_translator.py @ 106:8102bf4bbec6
modify range stmt.
author | Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 14 Dec 2010 15:02:25 +0900 |
parents | f228eb779162 |
children |
line wrap: on
line diff
--- a/pyrect/translator/cbc_grep_translator.py Tue Dec 14 11:49:59 2010 +0900 +++ b/pyrect/translator/cbc_grep_translator.py Tue Dec 14 15:02:25 2010 +0900 @@ -88,7 +88,7 @@ if self.skip_boost and not self.filter_only and \ not AnyChar() in self.regexp.chars and \ - self.regexp.min_len > 2: + self.regexp.min_len >= 2: self.emit_booster(self.regexp.min_len, self.regexp.chars) else: self.skip_boost = False