pass more than half of the integration tests, more bugfixes

This commit is contained in:
Dave Halter
2013-12-25 18:38:23 +01:00
parent f039bc3fc9
commit 002b7001ca
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -391,11 +391,11 @@ def _check_array_additions(evaluator, compare_array, module, is_list):
if isinstance(comp_arr_parent, er.InstanceElement):
stmt = er.InstanceElement(comp_arr_parent.instance, stmt)
if evaluator.follow_statement.push_stmt(stmt):
if evaluator.recursion_detector.push_stmt(stmt):
# check recursion
continue
res += check_calls(_scan_statement(stmt, n), n)
evaluator.follow_statement.pop_stmt()
evaluator.recursion_detector.pop_stmt()
# reset settings
settings.dynamic_params_for_other_modules = temp_param_add
return res