Skip to content
Snippets Groups Projects
Commit c5189d8f authored by marihachi's avatar marihachi
Browse files

Parser: improve performance

parent b09c3d46
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,10 @@ inline
// block: quote
quote
= &(BEGIN ">") head:quoteMultiLine tails:quoteMultiLine+
= &(BEGIN ">") q:quoteInner { return q; }
quoteInner
= head:quoteMultiLine tails:quoteMultiLine+
{
const children = applyParser([head, ...tails].join('\n'), 'fullParser');
return QUOTE(children);
......
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