From 20c58e2e2a8d77e7cecb225ea8b22191e5c9c608 Mon Sep 17 00:00:00 2001 From: rocky Date: Sat, 26 Aug 2023 14:15:23 -0400 Subject: [PATCH] Small semantic action acceptance change --- uncompyle6/semantics/customize38.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncompyle6/semantics/customize38.py b/uncompyle6/semantics/customize38.py index 94e620708..10a83b806 100644 --- a/uncompyle6/semantics/customize38.py +++ b/uncompyle6/semantics/customize38.py @@ -128,7 +128,7 @@ def customize_for_version38(self, version): "whilestmt38": ( "%|while %c:\n%+%c%-\n\n", (1, ("bool_op", "testexpr", "testexprc")), - (2, ("l_stmts", "pass")), + (2, ("l_stmts", "l_stmts_opt", "pass")), ), "whileTruestmt38": ( "%|while True:\n%+%c%-\n\n",