diff options
author | Henrik Nord <[email protected]> | 2015-06-08 14:37:35 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2015-06-08 14:39:30 +0200 |
commit | f1dede329de90e4805cd21a43bb5b19e288c81a3 (patch) | |
tree | aab920bd21326f2df820c9c6499d1dcfed2d208b /lib/xmerl/src/xmerl.erl | |
parent | c825356561bfcb4447cb4298da353244c465d3b3 (diff) | |
parent | bca6864c181eb8c14a0b8e47afb3dd6206e6ae7c (diff) | |
download | otp-f1dede329de90e4805cd21a43bb5b19e288c81a3.tar.gz otp-f1dede329de90e4805cd21a43bb5b19e288c81a3.tar.bz2 otp-f1dede329de90e4805cd21a43bb5b19e288c81a3.zip |
Merge branch 'richcarl/shut-up-xmerl'
* richcarl/shut-up-xmerl:
Stop xmerl printing to stdout
OTP-12810
Diffstat (limited to 'lib/xmerl/src/xmerl.erl')
-rw-r--r-- | lib/xmerl/src/xmerl.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/xmerl/src/xmerl.erl b/lib/xmerl/src/xmerl.erl index 88eaefc492..d27e101fe2 100644 --- a/lib/xmerl/src/xmerl.erl +++ b/lib/xmerl/src/xmerl.erl @@ -40,6 +40,7 @@ callbacks/1]). -include("xmerl.hrl"). +-include("xmerl_internal.hrl"). %% @spec export(Content, Callback) -> ExportedFormat @@ -273,7 +274,7 @@ tagdef(Tag,Pos,Parents,Args,CBs) -> callbacks(Module) -> Result = check_inheritance(Module, []), -%%% io:format("callbacks = ~p~n", [lists:reverse(Result)]), +%%% ?dbg("callbacks = ~p~n", [lists:reverse(Result)]), lists:reverse(Result). callbacks([M|Mods], Visited) -> @@ -288,7 +289,7 @@ callbacks([], Visited) -> Visited. check_inheritance(M, Visited) -> -%%% io:format("calling ~p:'#xml-inheritance#'()~n", [M]), +%%% ?dbg("calling ~p:'#xml-inheritance#'()~n", [M]), case M:'#xml-inheritance#'() of [] -> [M|Visited]; |