nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pep8analysis: reduce the max amount of looping to find fixed point
[nit.git]
/
contrib
/
pep8analysis
/
src
/
cfg
/
cfg_base.nit
diff --git
a/contrib/pep8analysis/src/cfg/cfg_base.nit
b/contrib/pep8analysis/src/cfg/cfg_base.nit
index
6e22cf2
..
8856907
100644
(file)
--- a/
contrib/pep8analysis/src/cfg/cfg_base.nit
+++ b/
contrib/pep8analysis/src/cfg/cfg_base.nit
@@
-308,7
+308,7
@@
class CFG
fun link_ret_to_calls(b: BasicBlock, to_link_ori: List[BasicBlock], seq: List[BasicBlock], depth: Int): Bool
do
watchdog += 1
- if watchdog == 100000 then
+ if watchdog == 10000 then
print "Error: Umanagable cycle detected"
return false
end