From 1bb10197bb9b05cb9108a7f0ff5a11d96ed6fe49 Mon Sep 17 00:00:00 2001 From: ptmcg Date: Fri, 17 Jun 2022 23:45:23 -0500 Subject: Enable packrat in verilogParse.py by default --- examples/verilogParse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/verilogParse.py') diff --git a/examples/verilogParse.py b/examples/verilogParse.py index ec2f694..1755a17 100644 --- a/examples/verilogParse.py +++ b/examples/verilogParse.py @@ -94,13 +94,13 @@ from pyparsing import ( ) import pyparsing -usePackrat = False +usePackrat = True packratOn = False if usePackrat: try: - ParserElement.enablePackrat() + ParserElement.enable_packrat() except Exception: pass else: -- cgit v1.2.1