Grammar reduction

This commit is contained in:
rocky
2017-11-27 04:56:01 -05:00
parent 3f7b5e6db3
commit 2674ec893a
6 changed files with 17 additions and 10 deletions

View File

@@ -260,6 +260,8 @@ class Scanner2(Scanner):
customize[op_name] = 0
elif op == self.opc.CONTINUE_LOOP:
customize[op_name] = 0
elif op_name == 'LOAD_SETCOMP':
customize[op_name] = 0
elif op == self.opc.JUMP_ABSOLUTE:
# Further classify JUMP_ABSOLUTE into backward jumps
# which are used in loops, and "CONTINUE" jumps which