floats are working now too, the whole thing seems to be pretty solid.

This commit is contained in:
David Halter
2012-04-07 02:15:36 +02:00
parent af786b9924
commit 95835250d7
4 changed files with 16 additions and 11 deletions

View File

@@ -82,9 +82,10 @@ class FileWithCursor(modules.File):
break
elif tok in close_brackets:
level += 1
elif token_type in [tokenize.NAME, tokenize.STRING,
tokenize.NUMBER]:
elif token_type in [tokenize.NAME, tokenize.STRING]:
force_point = True
elif token_type == tokenize.NUMBER:
pass
else:
#print 'break', token_type, tok
break