INNER CODE UNIT · Python
new_uses_indent
Cooler2/ApusGameEngine · tools/normalize_indent.py:244
new_uses_indent = get_indent(new_l) + 2
in_uses = True
if ';' in stripped:
in_uses = False
elif in_uses:
if not stripped:
new_l, fl = l, False
else:
new_l = ' ' * new_uses_indent + stripped
fl = False
if ';' in stripped and not stripped.startswith('//'):
in_uses = False
# --- nested-proc correction ---
elif i in reductions:
r = reductions[i]
new_n = max(0, old_n - r) * 2