Arlolra has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/274020

Change subject: Outline inline_breaks
......................................................................

Outline inline_breaks

 * If anything, it is hampering performance as is ...

Change-Id: I76f21c90f1745889ab0ac5c75760eb0676e84485
---
M lib/wt2html/pegTokenizer.pegjs.txt
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid 
refs/changes/20/274020/1

diff --git a/lib/wt2html/pegTokenizer.pegjs.txt 
b/lib/wt2html/pegTokenizer.pegjs.txt
index 0eb1e6d..bc12ec2 100644
--- a/lib/wt2html/pegTokenizer.pegjs.txt
+++ b/lib/wt2html/pegTokenizer.pegjs.txt
@@ -287,7 +287,7 @@
 
 inlineline
   = c:(urltext
-          / !{ return inlineBreaks(input, endOffset(), stops); } // 
inline_breaks
+          / !inline_breaks
             !pre_start
             r:(inline_element / [^\r\n]) { return r; })+ {
       return tu.flattenStringlist(c);
@@ -513,7 +513,7 @@
 url "url"
   = proto:url_protocol
     addr:(urladdr / "")
-    path:(  ( !{ return inlineBreaks(input, endOffset(), stops); } // 
inline_breaks
+    path:(  ( !inline_breaks
               c:no_punctuation_char
               { return c; }
             )
@@ -545,7 +545,7 @@
     r:(
     proto:url_protocol
     addr:(urladdr / "")
-    path:(  ( !{ return inlineBreaks(input, endOffset(), stops); } // 
inline_breaks
+    path:(  ( !inline_breaks
               ! "("
               c:no_punctuation_char
               { return c; }

-- 
To view, visit https://gerrit.wikimedia.org/r/274020
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I76f21c90f1745889ab0ac5c75760eb0676e84485
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: Arlolra <abrea...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to