3.x Grammar reduction of custom rules...

by looking for token patterns GET_ITER CALL_FUNCTION_1
This commit is contained in:
rocky
2017-11-23 07:47:38 -05:00
parent d8a3c2708e
commit 1823513841
6 changed files with 35 additions and 18 deletions

View File

@@ -506,7 +506,6 @@ class PythonParser(GenericASTBuilder):
expr ::= conditional
conditional ::= expr jmp_false expr JUMP_FORWARD expr COME_FROM
conditional ::= expr jmp_false expr JUMP_ABSOLUTE expr
expr ::= conditionalTrue
conditionalTrue ::= expr JUMP_FORWARD expr COME_FROM