Add spark option to show grammer. Revise uncompyle options. Start to reorganize

tests more
This commit is contained in:
rocky
2015-12-22 03:54:17 -05:00
parent d3d375d954
commit 4f0fe90eef
67 changed files with 137 additions and 57 deletions

View File

@@ -1,3 +1,11 @@
# Tests:
# forstmt ::= SETUP_LOOP expr _for designator for_block POP_BLOCK COME_FROM
# for_block ::= l_stmts_opt JUMP_BACK
# trystmt ::= SETUP_EXCEPT suite_stmts_opt POP_BLOCK try_middle COME_FROM
# try_middle ::= jmp_abs COME_FROM except_stmts END_FINALLY
# Had a bug with the end of the except matching the end of the
# for loop.
for i in (1,2):
try:
x = 1