Procházet zdrojové kódy

协议文件命名 全匹配修改

master v1.0.0
AICells před 4 roky
rodič
revize
83ecd9825d
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +1
    -1
      src/protoGen.erl
  2. +1
    -1
      test/test.erl

+ 1
- 1
src/protoGen.erl Zobrazit soubor

@ -667,7 +667,7 @@ convertDir(ProtoDir, HrlDir, ErlDir) ->
end
end,
%% .mpdf结尾的文件 FunRead函数中纠正处理一下
SProtoListOfList = filelib:fold_files(ProtoDir, "\\.mpdf", true, FunRead, []),
SProtoListOfList = filelib:fold_files(ProtoDir, "\\.mpdf$", true, FunRead, []),
SProtoList = lists:append(SProtoListOfList),
ErrCodeList = erlang:get(pd_errlist),
initSubRec(),

+ 1
- 1
test/test.erl Zobrazit soubor

@ -21,7 +21,7 @@ decode_int32(N) ->
tt2(N, iolist_to_binary(Bin)).
tt2(0, Bin) ->
Bin;
{protoMsg:decode(Bin), Bin};
tt2(N, Bin) ->
protoMsg:decode(Bin),
tt2(N - 1, Bin).

Načítá se…
Zrušit
Uložit