Skip to content

Commit

Permalink
more mypyc
Browse files Browse the repository at this point in the history
  • Loading branch information
x0r committed Apr 23, 2024
1 parent 10c5ea4 commit 7c4298b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion masm2c/pgparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ class LarkParser:

def __new__(cls: type[LarkParser], *args, **kwargs) -> LarkParser:
if not cls._inst:
cls._inst[0] = super().__new__(cls)
cls._inst.append(super().__new__(cls))
logging.debug("Allocated LarkParser instance")

file_name = f"{os.path.dirname(os.path.realpath(__file__))}/_masm61.lark"
Expand Down

0 comments on commit 7c4298b

Please sign in to comment.