2.6 and 2.7 while1 grammar rule

Fixes issue #40
This commit is contained in:
rocky
2016-07-27 13:19:42 -04:00
parent 87dc5ad80c
commit 5ffd9b2be7
10 changed files with 29 additions and 6 deletions

View File

@@ -259,7 +259,7 @@ class Scanner3(scan.Scanner):
argval = (before_args, after_args)
opname = '%s_%d+%d' % (opname, before_args, after_args)
elif op == self.opc.JUMP_ABSOLUTE:
# Further classifhy JUMP_ABSOLUTE into backward jumps
# Further classify JUMP_ABSOLUTE into backward jumps
# which are used in loops, and "CONTINUE" jumps which
# may appear in a "continue" statement. The loop-type
# and continue-type jumps will help us classify loop