Commit d07f3b0f authored by Eckhart Arnold's avatar Eckhart Arnold
Browse files

small refactorings

parent 5290fee7
......@@ -225,7 +225,8 @@ def get_grammar() -> LaTeXGrammar:
elif get_config_value('history_tracking'):
set_tracer(grammar, trace_history)
return grammar
def parse_LaTeX(document, start_parser = "root_parser__", *, complete_match=True):
return get_grammar()(document, start_parser, complete_match)
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