Move objects to a lower exit class.
All checks were successful
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded

Paragraph's exit matcher which detects elements was causing the plain list parser to exit after the first item was parsed which was causing significant amounts of re-parsing.
This commit is contained in:
Tom Alexander
2023-08-24 23:34:23 -04:00
parent 33d7ae03d1
commit 02fe10fba3
13 changed files with 28 additions and 25 deletions

View File

@@ -162,7 +162,7 @@ fn script_with_braces<'r, 's>(
},
))
.with_additional_node(ContextElement::ExitMatcherNode(ExitMatcherNode {
class: ExitClass::Beta,
class: ExitClass::Gamma,
exit_matcher: &script_with_braces_end,
}));