Merge pull request #114 from tsloughter/master

1.0: remove unneeded export_all. in OTP20 it is a warning
This commit is contained in:
Eric Merritt 2017-01-09 07:46:45 -08:00 committed by GitHub
commit 0898f1caf0
3 changed files with 2 additions and 7 deletions

View file

@ -7,8 +7,3 @@ version_part <- numeric_part / alpha_part ;
numeric_part <- [0-9]+ `erlang:list_to_integer(erlang:binary_to_list(erlang:iolist_to_binary(Node)))` ;
alpha_part <- [A-Za-z0-9]+ `erlang:iolist_to_binary(Node)` ;
%% This only exists to get around a bug in erlang where if
%% warnings_as_errors is specified `nowarn` directives are ignored
`-compile(export_all).`

View file

@ -12,7 +12,7 @@
-define(p_zero_or_more,true).
-compile(export_all).
-spec file(file:name()) -> any().
file(Filename) -> case file:read_file(Filename) of {ok,Bin} -> parse(Bin); Err -> Err end.

View file

@ -1,6 +1,6 @@
{application,erlware_commons,
[{description,"Additional standard library for Erlang"},
{vsn,"0.22.0"},
{vsn,"1.0.0"},
{modules,[]},
{registered,[]},
{applications,[kernel,stdlib,cf]},