Merge pull request #114 from tsloughter/master
1.0: remove unneeded export_all. in OTP20 it is a warning
This commit is contained in:
commit
0898f1caf0
3 changed files with 2 additions and 7 deletions
|
@ -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)))` ;
|
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)` ;
|
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).`
|
|
|
@ -12,7 +12,7 @@
|
||||||
-define(p_zero_or_more,true).
|
-define(p_zero_or_more,true).
|
||||||
|
|
||||||
|
|
||||||
-compile(export_all).
|
|
||||||
-spec file(file:name()) -> any().
|
-spec file(file:name()) -> any().
|
||||||
file(Filename) -> case file:read_file(Filename) of {ok,Bin} -> parse(Bin); Err -> Err end.
|
file(Filename) -> case file:read_file(Filename) of {ok,Bin} -> parse(Bin); Err -> Err end.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{application,erlware_commons,
|
{application,erlware_commons,
|
||||||
[{description,"Additional standard library for Erlang"},
|
[{description,"Additional standard library for Erlang"},
|
||||||
{vsn,"0.22.0"},
|
{vsn,"1.0.0"},
|
||||||
{modules,[]},
|
{modules,[]},
|
||||||
{registered,[]},
|
{registered,[]},
|
||||||
{applications,[kernel,stdlib,cf]},
|
{applications,[kernel,stdlib,cf]},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue