Fix some 2.5 parsing bugs

This commit is contained in:
rocky
2024-07-12 11:21:48 -04:00
parent 9450165109
commit f030b3316c
4 changed files with 24 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ def customize_for_version25(self, version):
# Note: It is safe to put the variables after "as" in parenthesis,
# and sometimes it is needed.
"with": ("%|with %c:\n%+%c%-", 0, 3),
"and_then": ("%c and %c", (0, "expr"), (4, "expr")),
}
)