Fix for loop issues in the fast parser.

This commit is contained in:
Dave Halter
2015-01-29 01:36:16 +01:00
parent e412694fa2
commit dde0e9c7c6
3 changed files with 16 additions and 9 deletions

View File

@@ -21,11 +21,6 @@ from jedi.parser.token import (tok_name, N_TOKENS, ENDMARKER, STRING, NUMBER,
cookie_re = re.compile("coding[:=]\s*([-\w.]+)")
# From here on we have custom stuff (everything before was originally Python
# internal code).
FLOWS = ['if', 'else', 'elif', 'while', 'with', 'try', 'except', 'finally']
namechars = string.ascii_letters + '_'