4
%% Copyright Ericsson AB 1997-2009. All Rights Reserved.
4
%% Copyright Ericsson AB 1997-2010. All Rights Reserved.
6
6
%% The contents of this file are subject to the Erlang Public License,
7
7
%% Version 1.1, (the "License"); you may not use this file except in
8
8
%% compliance with the License. You should have received a copy of the
9
9
%% Erlang Public License along with this software. If not, it can be
10
10
%% retrieved online at http://www.erlang.org/.
12
12
%% Software distributed under the License is distributed on an "AS IS"
13
13
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
14
%% the License for the specific language governing rights and limitations
15
15
%% under the License.
864
864
{'EXIT', {undef, _}} ->
865
865
?hdrt("does not implement load", []),
866
866
load_traverse(Line, Contexts, Modules,
867
[Context|NewContexts], ConfigList,yes);
867
[Context|NewContexts], ConfigList, yes);
869
869
{'EXIT', Reason} ->
870
870
error_logger:error_report({'EXIT', Reason}),
871
871
load_traverse(Line, Contexts, Modules,
872
872
[Context|NewContexts], ConfigList, State);
875
?hdrt("line processed", []),
876
load_traverse(Line, Contexts, Modules,
877
[Context|NewContexts], ConfigList, yes);
874
879
{ok, NewContext} ->
875
880
?hdrt("line processed", [{new_context, NewContext}]),
876
881
load_traverse(Line, Contexts, Modules,
877
[NewContext|NewContexts], ConfigList,yes);
882
[NewContext|NewContexts], ConfigList, yes);
879
884
{ok, NewContext, ConfigEntry} when is_tuple(ConfigEntry) ->
880
885
?hdrt("line processed",