Small semantic action acceptance change

This commit is contained in:
rocky
2023-08-26 14:15:23 -04:00
parent 9829e04611
commit 20c58e2e2a

View File

@@ -128,7 +128,7 @@ def customize_for_version38(self, version):
"whilestmt38": ( "whilestmt38": (
"%|while %c:\n%+%c%-\n\n", "%|while %c:\n%+%c%-\n\n",
(1, ("bool_op", "testexpr", "testexprc")), (1, ("bool_op", "testexpr", "testexprc")),
(2, ("l_stmts", "pass")), (2, ("l_stmts", "l_stmts_opt", "pass")),
), ),
"whileTruestmt38": ( "whileTruestmt38": (
"%|while True:\n%+%c%-\n\n", "%|while True:\n%+%c%-\n\n",