fix off by one inside

This commit is contained in:
j 2013-05-20 19:19:35 +00:00
parent 2560d503d7
commit 58a45d1f15

View file

@ -34,7 +34,7 @@ for f in files:
if i >= 3 and tokens[i - 3]['value'] + tokens[i - 2]['value'] \
+ tokens[i - 1]['value'] + tokens[i]['value'] == 'Ox._(':
inside = True
level = 0
level = 1
elif inside:
if token['value'] == '(':
level +=1