Start splitting off 3.4 grammar from rest

This commit is contained in:
rocky
2016-07-09 21:08:53 -04:00
parent b44c566a9f
commit 21da5e787e
4 changed files with 38 additions and 8 deletions

View File

@@ -637,10 +637,11 @@ def get_python_parser(version, debug_parser, compile_mode='exec'):
else:
p = parse3.Python33ParserSingle(debug_parser)
elif version == 3.4:
import uncompyle6.parsers.parse34 as parse34
if compile_mode == 'exec':
p = parse3.Python34Parser(debug_parser)
p = parse34.Python34Parser(debug_parser)
else:
p = parse3.Python34ParserSingle(debug_parser)
p = parse34.Python34ParserSingle(debug_parser)
elif version >= 3.5:
if compile_mode == 'exec':
p = parse3.Python35onParser(debug_parser)