Просмотр исходного кода

fx: 匹配类别汇聚时修正

master
SisMaker 4 лет назад
Родитель
Сommit
19bf571b06
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      src/eAcs.erl

+ 1
- 1
src/eAcs.erl Просмотреть файл

@ -237,7 +237,7 @@ dealMatchList([{_OldByteIndex, OldMatchWordCnt, OldWordIndex} | LeftMatchList] =
CurStartIndex = CurWordIndex - MatchWordCnt,
OldStartIndex = OldWordIndex - OldMatchWordCnt,
if
CurStartIndex > OldWordIndex + 1 ->
CurStartIndex >= OldWordIndex + 1 ->
[{CurByteIndex, MatchWordCnt, CurWordIndex} | OldMatchList];
CurStartIndex >= OldStartIndex ->
[{CurByteIndex, CurWordIndex - OldStartIndex, CurWordIndex} | LeftMatchList];

Загрузка…
Отмена
Сохранить