Browse Source

删除打印

master
AICells 5 years ago
parent
commit
42c503784e
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      src/protoGen.erl

+ 0
- 4
src/protoGen.erl View File

@ -313,18 +313,14 @@ getSubRec() ->
erlang:get(pd_subRec). erlang:get(pd_subRec).
addSubRec({MsgName, _MsgId, _FieldList} = Info, IsForBin) when IsForBin -> addSubRec({MsgName, _MsgId, _FieldList} = Info, IsForBin) when IsForBin ->
io:format("IMY************************111 ~p ~p~n",[Info, IsForBin]),
OldList = erlang:get(pd_subRec), OldList = erlang:get(pd_subRec),
case lists:keyfind(MsgName, 1, OldList) of case lists:keyfind(MsgName, 1, OldList) of
false -> false ->
io:format("IMY************************3333 ~p ~p~n",[OldList, IsForBin]),
erlang:put(pd_subRec, [Info | OldList]); erlang:put(pd_subRec, [Info | OldList]);
_ -> _ ->
io:format("IMY************************444 ~p ~p~n",[Info, IsForBin]),
ignore ignore
end; end;
addSubRec(_Info, _IsForBin) -> addSubRec(_Info, _IsForBin) ->
io:format("IMY************************222 ~p ~p~n",[_Info, _IsForBin]),
ignore. ignore.
genDecodeBin({MsgName, MsgId, FieldList}, SortedSProtoList, IsForBin) -> genDecodeBin({MsgName, MsgId, FieldList}, SortedSProtoList, IsForBin) ->

Loading…
Cancel
Save