Skip to content
Snippets Groups Projects
Commit f4142f65 authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Tag invoke parse result.

parent 8e24c6a5
No related branches found
No related tags found
No related merge requests found
...@@ -434,7 +434,7 @@ class ParserFormatter(Serializer[ParseDirective]): ...@@ -434,7 +434,7 @@ class ParserFormatter(Serializer[ParseDirective]):
for x in xs: for x in xs:
parser &= ws & ',' & ws & self.s(x) parser &= ws & ',' & ws & self.s(x)
parser &= optional(ws & ',') & optional(ws & ')') parser &= optional(ws & ',') & optional(ws & ')')
return parser return tag('invoke', parser)
@override @override
def _puppet_keyword(self, it: PuppetKeyword) -> ParseDirective: def _puppet_keyword(self, it: PuppetKeyword) -> ParseDirective:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment