downstream: pyparsing: fix using deprecated aliases

Deprecated since pyparsing 3.0 and produce runtime warnings. New
function work exactly the same, except their name is pep8 compatible.
This commit is contained in:
Andrej730
2026-07-14 16:45:40 +05:00
parent 9da1b9e02b
commit 89663b716a
3 changed files with 297 additions and 297 deletions
@@ -263,7 +263,7 @@ context_class = context
class codegen_rule:
def __init__(self, pattern, fn):
self.pattern = tuple(rule.parseString(pattern))
self.pattern = tuple(rule.parse_string(pattern))
self.fn = fn
if not hasattr(codegen_rule, "all_rules"):
codegen_rule.all_rules = []