diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2021-12-09 02:38:12 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2021-12-10 01:50:32 +0900 |
commit | d595194791483a71c5afaff2aa3f4b575a9d22b7 (patch) | |
tree | 65477d9fab1db2b9ded5eeda8a14ce0b235718b5 /utf8/utf8.go | |
parent | Add a new DFA compiler that generates DFA from a set of CPTree (diff) | |
download | tre-d595194791483a71c5afaff2aa3f4b575a9d22b7.tar.gz tre-d595194791483a71c5afaff2aa3f4b575a9d22b7.tar.xz |
Use new parser and DFA compiler
Diffstat (limited to '')
-rw-r--r-- | utf8/utf8.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/utf8/utf8.go b/utf8/utf8.go index 79ca1de..16b3746 100644 --- a/utf8/utf8.go +++ b/utf8/utf8.go @@ -83,15 +83,6 @@ var ( cBlk4Last = cBlks4[len(cBlks4)-1] ) -func AllCharBlocks() []*CharBlock { - var blks []*CharBlock - blks = append(blks, cBlks1...) - blks = append(blks, cBlks2...) - blks = append(blks, cBlks3...) - blks = append(blks, cBlks4...) - return blks -} - func GenCharBlocks(from, to []byte) ([]*CharBlock, error) { switch len(from) { case 1: |