Remove unreachable grammar rules for 4 byte chars

When converting from JS to PHP the grammar rules for 4 byte UTF-8
chars were converted in a way that makes the code unreachable.

* Remove the unreachable code for now code

Bug: T319521
Change-Id: Icdb3c71bb738e8f55ce190daef0534794de35eec
This commit is contained in:
physikerwelt 2024-07-04 23:22:44 +02:00 committed by Physikerwelt
parent 4f82ce56de
commit 28df29d388
2 changed files with 506 additions and 551 deletions

File diff suppressed because it is too large Load diff

View file

@ -309,8 +309,6 @@ literal_uf_op = [-+*=]
delimiter_uf_op = [\/|]
boxchars // match only valid UTF-16 sequences
= [-0-9a-zA-Z+*,=():\/;?.!'` \[\]\[\u0080-\ud7ff\]\[\ue000-\uffff\]]
/ l:[\ud800-\udbff] h:[\udc00-\udfff] { return $this->text(); }
//aboxchars = [-0-9a-zA-Z+*,=():\/;?.!'` ]
BOX
= b:generic_func &{ return $this->tu->box_functions($b); } _ "{" cs:boxchars+ "}" _