Fix a 3.6 CALL_FUNCTION_EX_KW problem..

and remove 3.6 customization from pysource.
This commit is contained in:
rocky
2018-03-04 09:18:57 -05:00
parent a8260edded
commit 778f92b6f4
5 changed files with 45 additions and 278 deletions

View File

@@ -187,6 +187,8 @@ class Python36Parser(Python35Parser):
self.addRule("""expr ::= call_ex_kw
expr ::= call_ex_kw2
expr ::= call_ex_kw3
expr ::= call_ex_kw4
call_ex_kw ::= expr expr build_map_unpack_with_call
CALL_FUNCTION_EX_KW
call_ex_kw2 ::= expr
@@ -194,6 +196,10 @@ class Python36Parser(Python35Parser):
build_map_unpack_with_call
CALL_FUNCTION_EX_KW
call_ex_kw3 ::= expr
build_tuple_unpack_with_call
expr
CALL_FUNCTION_EX_KW
call_ex_kw4 ::= expr
expr
expr
CALL_FUNCTION_EX_KW