Commit eb7a9c72 authored by di68kap's avatar di68kap
Browse files

bugfix: replace_parser

parent 96839f34
......@@ -593,7 +593,7 @@ def replace_parser(context: List[Node], name: str):
"""
node = context[-1]
name, ptype = (name.split(':') + [''])[:2]
node.parser = MockParser(name, ptype)
node.parser = MockParser(name, ':' + ptype)
@transformation_factory(collections.abc.Callable)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment