Adjust while True grammar rule

This commit is contained in:
rocky
2019-04-13 20:46:13 -04:00
parent 32c611a315
commit f89ba40147
3 changed files with 5 additions and 4 deletions

View File

@@ -982,6 +982,8 @@ def customize_for_version3(self, version):
'whilestmt38': ( '%|while %c:\n%+%c%-\n\n',
(0, 'testexpr'), (1, 'l_stmts') ),
'whileTruestmt38': ( '%|while True:\n%+%c%-\n\n',
(0, 'l_stmts') ),
'tryfinally38': (
'%|try:\n%+%c%-%|finally:\n%+%c%-\n\n',
(3, 'returns'), 6 ),