Fix typo s/of/on/

This commit is contained in:
Tuncer Ayaz 2014-07-13 15:12:09 +02:00
parent 71c2f17c9b
commit 15373a580f
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ main(Args) ->
%% Erlang 17. %% Erlang 17.
%% At the same time, their counterparts dict() and digraph() are to be %% At the same time, their counterparts dict() and digraph() are to be
%% deprecated in Erlang 18. namespaced_types option is used to select %% deprecated in Erlang 18. namespaced_types option is used to select
%% proper type name depending of the OTP version used. %% proper type name depending on the OTP version used.
NamespacedTypes = case is_otp(OtpInfo, "^[0-9]+") of NamespacedTypes = case is_otp(OtpInfo, "^[0-9]+") of
true -> {d, namespaced_types}; true -> {d, namespaced_types};
false -> undefined false -> undefined

View file

@ -8,7 +8,7 @@
%% Types dict:dict() and digraph:digraph() have been introduced in Erlang 17. %% Types dict:dict() and digraph:digraph() have been introduced in Erlang 17.
%% At the same time, their counterparts dict() and digraph() are to be %% At the same time, their counterparts dict() and digraph() are to be
%% deprecated in Erlang 18. namespaced_types option is used to select proper %% deprecated in Erlang 18. namespaced_types option is used to select proper
%% type name depending of the OTP version used. %% type name depending on the OTP version used.
{erl_opts, {erl_opts,
[ [
{platform_define, "^[0-9]+", namespaced_types} {platform_define, "^[0-9]+", namespaced_types}