diff --git a/src/hpl/parser.py b/src/hpl/parser.py index a92ca5c..1f41881 100644 --- a/src/hpl/parser.py +++ b/src/hpl/parser.py @@ -68,7 +68,7 @@ class NumberConstants(Enum): class PropertyTransformer(Transformer): @v_args(inline=False) def hpl_file(self, children: Iterable[HplProperty]) -> HplSpecification: - return HplSpecification(children) + return HplSpecification(tuple(children)) def hpl_property( self,