瀏覽代碼

协议文件命名 全匹配修改

master v1.0.0
AICells 4 年之前
父節點
當前提交
83ecd9825d
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      src/protoGen.erl
  2. +1
    -1
      test/test.erl

+ 1
- 1
src/protoGen.erl 查看文件

@ -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 查看文件

@ -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).

Loading…
取消
儲存