diff --git a/140_dbs/.classpath b/140_dbs/.classpath index 114a8e7cf..84652ffb3 100644 --- a/140_dbs/.classpath +++ b/140_dbs/.classpath @@ -9,6 +9,6 @@ - + diff --git a/400_xowa/src/gplx/xowa/xtns/hieros/Hiero_parser.java b/400_xowa/src/gplx/xowa/xtns/hieros/Hiero_parser.java index 50276b680..cc4927c9d 100644 --- a/400_xowa/src/gplx/xowa/xtns/hieros/Hiero_parser.java +++ b/400_xowa/src/gplx/xowa/xtns/hieros/Hiero_parser.java @@ -22,48 +22,50 @@ class Hiero_parser { private Hiero_block cur_block; private Bry_bfr cur_tkn = Bry_bfr_.Reset(16); public Hiero_block[] Parse(byte[] src, int bgn, int end) { - blocks.Clear(); - this.cur_block = new Hiero_block(); - cur_tkn.Clear(); - int pos = bgn; - while (true) { - if (pos == end) break; - byte b = src[pos]; - Object o = trie.Match_at_w_b0(trv, b, src, pos, end); - if (o == null) { - New_char(b); - ++pos; - } - else { - Hiero_parser_itm itm = (Hiero_parser_itm)o; - int new_pos = trv.Pos(); - switch (itm.Tid()) { - case Hiero_parser_itm.Tid_comment: - int end_comm = Bry_find_.Find_fwd(src, Gfh_tag_.Comm_end, new_pos, end); - if (end_comm == Bry_find_.Not_found) // --> not found; for now, ignore not found; for now, ignore