Commit de200c0c authored by Mohammad Nakhaee's avatar Mohammad Nakhaee
Browse files

get the absolute path for the parse arguments

parent cc02a7e1
Pipeline #112079 passed with stages
in 25 minutes and 12 seconds
......@@ -45,6 +45,7 @@ def parse(
parser = parsers.parser_dict.get(parser_name)
assert parser is not None, 'the given parser must exist'
mainfile_path = os.path.abspath(mainfile_path)
parser = parsers.match_parser(mainfile_path, strict=strict)
if isinstance(parser, parsing.MatchingParser):
parser_name =
Supports Markdown
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